gbranden pushed a commit to branch master
in repository groff.
commit 5b29e38213b3a0ff55e6f196df80a53c4d50929e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jul 12 16:44:46 2025 -0500
[troff]: Flush stderr after dumping environment.
* src/roff/troff/env.cpp (environment::dump): Flush the standard error
stream after writing an environment's properties to it.
---
ChangeLog | 5 +++++
src/roff/troff/env.cpp | 1 +
2 files changed, 6 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 39f31ea4a..2699d00c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-07-12 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/env.cpp (environment::dump): Flush the standard
+ error stream after writing an environment's properties to it.
+
2025-07-12 G. Branden Robinson <[email protected]>
* src/roff/troff/input.cpp (print_macros, get_flags)
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 2b28ec9e5..afcf0a1a4 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3638,6 +3638,7 @@ void environment::dump()
#ifdef WIDOW_CONTROL
errprint(" widow control: %1\n", want_widow_control ? "yes" : "no");
#endif /* WIDOW_CONTROL */
+ fflush(stderr);
}
void dump_environment_request()
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit