This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.24-483-g36820ce


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4 (commit)
      from  b224637928e9fc04e3cef3e10d02ccf042d01584 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4

commit 36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 16 16:17:13 2016 +0000

    Make build-many-glibcs.py flush stdout before execv.
    
    When build-many-glibcs.py re-execs itself with execv, any buffered
    output on stdout may be lost (in particular, messages intended to go
    to a bot's log about the re-exec taking place).  This patch makes it
    flush stdout before execv, similar to the flush before running a
    subprocess from the bot that is done to ensure output appears in the
    right order.
    
    	* scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
    	before calling execv.

diff --git a/ChangeLog b/ChangeLog
index 6285405..b3f9de2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
+	before calling execv.
+
 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	[BZ# 20971]
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index a5f7119..9401709 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -93,6 +93,7 @@ class Context(object):
 
     def exec_self(self):
         """Re-execute this script with the same arguments."""
+        sys.stdout.flush()
         os.execv(sys.executable, [sys.executable] + sys.argv)
 
     def get_build_triplet(self):

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    5 +++++
 scripts/build-many-glibcs.py |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]