projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d562e8
)
Don't fflush stdout and stderr before forking.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 10 Apr 2011 19:31:52 +0000
(19:31 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sun, 10 Apr 2011 21:35:08 +0000
(21:35 +0000)
Not necessary; the child will never use them before exec'ing.
The simpler this whole mess can be made, the better...
src/microcode/uxproc.c
patch
|
blob
|
history
diff --git
a/src/microcode/uxproc.c
b/src/microcode/uxproc.c
index 2d5598e9affc206c4e98b4e045a4a7f69cb3d753..a624fcd21572fdabc5de70ba25ffc2f52d129df3 100644
(file)
--- a/
src/microcode/uxproc.c
+++ b/
src/microcode/uxproc.c
@@
-277,11
+277,6
@@
OS_make_subprocess (const char * filename,
transaction_begin ();
child = (process_allocate ());
-
- /* Flush streams so that output won't be duplicated after the fork. */
- fflush (stdout);
- fflush (stderr);
-
grab_signal_mask ();
if (ctty_type == process_ctty_type_inherit_fg)
block_jc_signals ();