diff options
| author | Jason Rumney | 2003-05-21 20:43:00 +0000 |
|---|---|---|
| committer | Jason Rumney | 2003-05-21 20:43:00 +0000 |
| commit | 745edc312704f07310b0992cdd4ea511b87f3a74 (patch) | |
| tree | 7668f1d104ee3839fe4b371ac8976c808adc55d6 | |
| parent | e13dd0a857f992133556c3c5c4bbc8a79c08722b (diff) | |
| download | emacs-745edc312704f07310b0992cdd4ea511b87f3a74.tar.gz emacs-745edc312704f07310b0992cdd4ea511b87f3a74.zip | |
(_start): Remove _fmode initialization.
| -rw-r--r-- | src/unexw32.c | 5 |
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); |