mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Fix WINDOWSNT/DOS_NT build
Recent changes in sysdep.c and emacsclient unnecessarily removed useful code from DOS_NT builds. This changeset reinstates that code. * nt/inc/ms-w32.h (tcdrain): Redirect to _commit. (fdatasync): No need to redirect anymore. * lib-src/emacsclient.c (flush_stdout): Don't avoid calling tcdrain on DOS_NT platforms. * src/sysdep.c (reset_sys_modes): Don't ifdef away the call to tcdrain on DOS_NT platforms.
This commit is contained in:
parent
5c412405c7
commit
2ff9dca17c
3 changed files with 2 additions and 4 deletions
|
@ -1745,10 +1745,8 @@ static void
|
|||
flush_stdout (HSOCKET emacs_socket)
|
||||
{
|
||||
fflush (stdout);
|
||||
#ifndef DOS_NT
|
||||
while (tcdrain (STDOUT_FILENO) != 0 && errno == EINTR)
|
||||
act_on_signals (emacs_socket);
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue