[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
152/376: Flush std::cout before closing stdout
From: |
Ludovic Court�s |
Subject: |
152/376: Flush std::cout before closing stdout |
Date: |
Wed, 28 Jan 2015 22:04:40 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 65243ee8333a99f6461abf417d880a028dc96d91
Author: Eelco Dolstra <address@hidden>
Date: Wed Aug 20 21:31:38 2014 +0200
Flush std::cout before closing stdout
---
src/libmain/shared.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 5a74036..6f2f8c5 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -319,6 +319,7 @@ RunPager::RunPager()
RunPager::~RunPager()
{
if (pid != -1) {
+ std::cout.flush();
close(STDOUT_FILENO);
pid.wait(true);
}
- 139/376: Fix --attr parsing, (continued)
- 139/376: Fix --attr parsing, Ludovic Court�s, 2015/01/28
- 142/376: Reduce test verbosity, Ludovic Court�s, 2015/01/28
- 138/376: Doh, Ludovic Court�s, 2015/01/28
- 135/376: nix-build: Propagate exit status from nix-store -r, Ludovic Court�s, 2015/01/28
- 125/376: Refactor option handling, Ludovic Court�s, 2015/01/28
- 134/376: build-remote.pl: Provide defaults for $NIX_CURRENT_LOAD and $NIX_REMOTE_SYSTEMS, Ludovic Court�s, 2015/01/28
- 141/376: Filter Nix-specific ANSI escape sequences from stderr, Ludovic Court�s, 2015/01/28
- 140/376: Make hook shutdown more reliable, Ludovic Court�s, 2015/01/28
- 144/376: Add some color, Ludovic Court�s, 2015/01/28
- 147/376: Handle header file instantiation, Ludovic Court�s, 2015/01/28
- 152/376: Flush std::cout before closing stdout,
Ludovic Court�s <=
- 146/376: Install config.h only once, Ludovic Court�s, 2015/01/28
- 148/376: Force template regeneration, Ludovic Court�s, 2015/01/28
- 158/376: fix disappearing bash arguments, Ludovic Court�s, 2015/01/28
- 150/376: Provide reasonable default flags for $LESS, Ludovic Court�s, 2015/01/28
- 149/376: Merge commit '2aa93858afee22e0c32d8f4366970976374091ac', Ludovic Court�s, 2015/01/28
- 156/376: Use PR_SET_PDEATHSIG to ensure child cleanup, Ludovic Court�s, 2015/01/28
- 155/376: Set a curl timeout on binary cache lookups, Ludovic Court�s, 2015/01/28
- 163/376: Fix manual build, Ludovic Court�s, 2015/01/28
- 159/376: Document the "out" usage in allowedReferences, Ludovic Court�s, 2015/01/28
- 154/376: Use unshare() instead of clone(), Ludovic Court�s, 2015/01/28