Commit 745edc31 authored by Jason Rumney's avatar Jason Rumney

(_start): Remove _fmode initialization.

parent e13dd0a8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment