groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/12: [troff]: Flush stderr at end of `phw` request.


From: G. Branden Robinson
Subject: [groff] 02/12: [troff]: Flush stderr at end of `phw` request.
Date: Sat, 3 Feb 2024 00:04:02 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit dae6a4ac64dd9aef5f161b00eeb77e09c7c07924
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Feb 2 13:10:16 2024 -0600

    [troff]: Flush stderr at end of `phw` request.
    
    * src/roff/troff/env.cpp (print_hyphenation_exceptions): Flush the
      standard error stream once the list is written.
---
 ChangeLog              | 5 +++++
 src/roff/troff/env.cpp | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index f0430bf5c..f284f4f08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-02-02  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/roff/troff/env.cpp (print_hyphenation_exceptions): Flush
+       the standard error stream once the list is written.
+
 2024-02-02  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [man]: Back away from color management concerns.
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index ea3f0d9cf..dbaf2d1a9 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3710,6 +3710,7 @@ static void print_hyphenation_exceptions()
       errprint("\t*");
     errprint("\n");
   }
+  fflush(stderr);
   skip_line();
 }
 



reply via email to

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