diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-12-03 12:29:34 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-12-03 12:29:34 +0200 |
commit | 2ff9dca17c5ba1658f8083e20f3bcc7e90c57bb2 (patch) | |
tree | 17fa43e345070711647d7be2b4ad28d80d6babfe /lib-src/emacsclient.c | |
parent | 5c412405c7422b356484a933179f852c30ce2f24 (diff) | |
download | emacs-2ff9dca17c5ba1658f8083e20f3bcc7e90c57bb2.tar.gz |
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.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index a428788344e..c430217470f 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -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 |