bug-make
[Top][All Lists]
Advanced

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

[PATCH] [SV 63111] Clean up output sync before re-executing


From: Andreas Schwab
Subject: [PATCH] [SV 63111] Clean up output sync before re-executing
Date: Tue, 27 Sep 2022 12:42:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

* src/main.c (main): Call osync_clear before re-executing
ourselves.
---
 src/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main.c b/src/main.c
index 3821089c..57aa1e8b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2727,6 +2727,8 @@ main (int argc, char **argv, char **envp)
           fflush (stdout);
           fflush (stderr);
 
+          osync_clear ();
+
           /* The exec'd "child" will be another make, of course.  */
           jobserver_pre_child(1);
 
-- 
2.37.3


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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