aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unexw32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index 60cd9517027..ece35459d63 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA.
23 23
24#include <config.h> 24#include <config.h>
25 25
26#include <stdlib.h> /* _fmode */
27#include <stdio.h> 26#include <stdio.h>
28#include <fcntl.h> 27#include <fcntl.h>
29#include <time.h> 28#include <time.h>
@@ -112,10 +111,6 @@ _start (void)
112 /* Grab our malloc arena space now, before CRT starts up. */ 111 /* Grab our malloc arena space now, before CRT starts up. */
113 init_heap (); 112 init_heap ();
114 113
115 /* The default behavior is to treat files as binary and patch up
116 text files appropriately, in accordance with the MSDOS code. */
117 _fmode = O_BINARY;
118
119 /* This prevents ctrl-c's in shells running while we're suspended from 114 /* This prevents ctrl-c's in shells running while we're suspended from
120 having us exit. */ 115 having us exit. */
121 SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE); 116 SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE);