aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c
index e5305e27417..a72f1810d8a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -894,9 +894,9 @@ main (int argc, char **argv)
894#endif /* not SYSTEM_MALLOC and not HYBRID_MALLOC */ 894#endif /* not SYSTEM_MALLOC and not HYBRID_MALLOC */
895 895
896#ifdef MSDOS 896#ifdef MSDOS
897 SET_BINARY (fileno (stdin)); 897 set_binary_mode (STDIN_FILENO, O_BINARY);
898 fflush (stdout); 898 fflush (stdout);
899 SET_BINARY (fileno (stdout)); 899 set_binary_mode (STDOUT_FILENO, O_BINARY);
900#endif /* MSDOS */ 900#endif /* MSDOS */
901 901
902 /* Skip initial setlocale if LC_ALL is "C", as it's not needed in that case. 902 /* Skip initial setlocale if LC_ALL is "C", as it's not needed in that case.