diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-12-16 16:17:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-12-16 16:17:13 +0000 |
commit | 36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4 (patch) | |
tree | fe4ebb309e1021cfe21454c92a7a8db252fcb897 /include/err.h | |
parent | b224637928e9fc04e3cef3e10d02ccf042d01584 (diff) | |
download | glibc-36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4.tar.gz glibc-36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4.tar.xz glibc-36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4.zip |
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.
Diffstat (limited to 'include/err.h')
0 files changed, 0 insertions, 0 deletions