summaryrefslogtreecommitdiff
path: root/src/unexw32.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2003-05-21 20:43:00 +0000
committerJason Rumney <jasonr@gnu.org>2003-05-21 20:43:00 +0000
commit745edc312704f07310b0992cdd4ea511b87f3a74 (patch)
tree7668f1d104ee3839fe4b371ac8976c808adc55d6 /src/unexw32.c
parente13dd0a857f992133556c3c5c4bbc8a79c08722b (diff)
(_start): Remove _fmode initialization.
Diffstat (limited to 'src/unexw32.c')
-rw-r--r--src/unexw32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index 60cd951702..ece35459d6 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA.
#include <config.h>
-#include <stdlib.h> /* _fmode */
#include <stdio.h>
#include <fcntl.h>
#include <time.h>
@@ -112,10 +111,6 @@ _start (void)
/* Grab our malloc arena space now, before CRT starts up. */
init_heap ();
- /* The default behavior is to treat files as binary and patch up
- text files appropriately, in accordance with the MSDOS code. */
- _fmode = O_BINARY;
-
/* This prevents ctrl-c's in shells running while we're suspended from
having us exit. */
SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE);