diff options
| author | Paul Eggert | 2019-06-23 13:26:14 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-06-23 13:32:12 -0700 |
| commit | 983e58137696239f18d6482d2f4d398fe64628a7 (patch) | |
| tree | c551c6fe462a7365712172b5a674a61569b9cc69 | |
| parent | 2eafb4af55cc835694a0e747835b88145d20a94d (diff) | |
| download | emacs-983e58137696239f18d6482d2f4d398fe64628a7.tar.gz emacs-983e58137696239f18d6482d2f4d398fe64628a7.zip | |
Don’t line-buffer stderr
* src/sysdep.c (init_standard_fds) [DOS_NT]: Don’t line-buffer stderr.
This reverts 2019-06-20T07:32:17!eggert@cs.ucla.edu. See:
https://lists.gnu.org/r/emacs-devel/2019-06/msg00882.html
| -rw-r--r-- | src/sysdep.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index dd1184aa456..0910b69f8bc 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -242,12 +242,6 @@ init_standard_fds (void) | |||
| 242 | force_open (STDIN_FILENO, O_WRONLY); | 242 | force_open (STDIN_FILENO, O_WRONLY); |
| 243 | force_open (STDOUT_FILENO, O_RDONLY); | 243 | force_open (STDOUT_FILENO, O_RDONLY); |
| 244 | force_open (STDERR_FILENO, O_RDONLY); | 244 | force_open (STDERR_FILENO, O_RDONLY); |
| 245 | |||
| 246 | /* Line-buffer stderr. However, leave stderr unbuffered on | ||
| 247 | MS-Windows, where setvbuf treats _IOLBF like _IOFBF. */ | ||
| 248 | #ifndef DOS_NT | ||
| 249 | setvbuf (stderr, NULL, _IOLBF, 0); | ||
| 250 | #endif | ||
| 251 | } | 245 | } |
| 252 | 246 | ||
| 253 | /* Return the current working directory. The result should be freed | 247 | /* Return the current working directory. The result should be freed |