emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d29a9da 2/2: Flush all output streams before aborti


From: Philipp Stephani
Subject: [Emacs-diffs] master d29a9da 2/2: Flush all output streams before aborting
Date: Mon, 12 Jun 2017 10:40:02 -0400 (EDT)

branch: master
commit d29a9dae71395fccd419973e9c88f97af744581f
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Flush all output streams before aborting
    
    Maybe the stdout buffer still contains something interesting that
    should be flushed.
    
    * src/emacs-module.c (module_abort): Flush all output streams before
    aborting.
---
 src/emacs-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/emacs-module.c b/src/emacs-module.c
index 650065d..6af9474 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -1187,7 +1187,7 @@ module_abort (const char *format, ...)
   vfprintf (stderr, format, args);
   va_end (args);
   putc ('\n', stderr);
-  fflush (stderr);
+  fflush (NULL);
   emacs_abort ();
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]