diff options
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c index aae13bb6764..49b491faec8 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -753,9 +753,9 @@ append to existing target file. */) | |||
| 753 | { | 753 | { |
| 754 | if (initial_stderr_stream != NULL) | 754 | if (initial_stderr_stream != NULL) |
| 755 | { | 755 | { |
| 756 | BLOCK_INPUT; | 756 | block_input (); |
| 757 | fclose (stderr); | 757 | fclose (stderr); |
| 758 | UNBLOCK_INPUT; | 758 | unblock_input (); |
| 759 | } | 759 | } |
| 760 | stderr = initial_stderr_stream; | 760 | stderr = initial_stderr_stream; |
| 761 | initial_stderr_stream = NULL; | 761 | initial_stderr_stream = NULL; |