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
This commit is contained in:
parent
2eafb4af55
commit
983e581376
1 changed files with 0 additions and 6 deletions
|
@ -242,12 +242,6 @@ init_standard_fds (void)
|
|||
force_open (STDIN_FILENO, O_WRONLY);
|
||||
force_open (STDOUT_FILENO, O_RDONLY);
|
||||
force_open (STDERR_FILENO, O_RDONLY);
|
||||
|
||||
/* Line-buffer stderr. However, leave stderr unbuffered on
|
||||
MS-Windows, where setvbuf treats _IOLBF like _IOFBF. */
|
||||
#ifndef DOS_NT
|
||||
setvbuf (stderr, NULL, _IOLBF, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Return the current working directory. The result should be freed
|
||||
|
|
Loading…
Add table
Reference in a new issue