diff options
| author | Eli Zaretskii | 2018-12-03 12:29:34 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-12-03 12:29:34 +0200 |
| commit | 2ff9dca17c5ba1658f8083e20f3bcc7e90c57bb2 (patch) | |
| tree | 17fa43e345070711647d7be2b4ad28d80d6babfe /nt | |
| parent | 5c412405c7422b356484a933179f852c30ce2f24 (diff) | |
| download | emacs-2ff9dca17c5ba1658f8083e20f3bcc7e90c57bb2.tar.gz emacs-2ff9dca17c5ba1658f8083e20f3bcc7e90c57bb2.zip | |
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 'nt')
| -rw-r--r-- | nt/inc/ms-w32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index e4dec04fb8b..df35dff91b5 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -311,7 +311,7 @@ extern int execve (const char *, char * const *, char * const *); | |||
| 311 | #else | 311 | #else |
| 312 | extern intptr_t execve (const char *, char * const *, char * const *); | 312 | extern intptr_t execve (const char *, char * const *, char * const *); |
| 313 | #endif | 313 | #endif |
| 314 | #define fdatasync _commit | 314 | #define tcdrain _commit |
| 315 | #define fdopen _fdopen | 315 | #define fdopen _fdopen |
| 316 | #define fsync _commit | 316 | #define fsync _commit |
| 317 | #define ftruncate _chsize | 317 | #define ftruncate _chsize |