/[emacs]/emacs/src/unexw32.c
ViewVC logotype

Diff of /emacs/src/unexw32.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21.20.1 by miles, Fri Apr 4 06:21:03 2003 UTC revision 1.21.20.2 by miles, Tue Oct 14 23:22:47 2003 UTC
# Line 23  Boston, MA 02111-1307, USA. Line 23  Boston, MA 02111-1307, USA.
23    
24  #include <config.h>  #include <config.h>
25    
 #include <stdlib.h>     /* _fmode */  
26  #include <stdio.h>  #include <stdio.h>
27  #include <fcntl.h>  #include <fcntl.h>
28  #include <time.h>  #include <time.h>
# Line 112  _start (void) Line 111  _start (void)
111    /* Grab our malloc arena space now, before CRT starts up. */    /* Grab our malloc arena space now, before CRT starts up. */
112    init_heap ();    init_heap ();
113    
   /* The default behavior is to treat files as binary and patch up  
      text files appropriately, in accordance with the MSDOS code.  */  
   _fmode = O_BINARY;  
   
114    /* This prevents ctrl-c's in shells running while we're suspended from    /* This prevents ctrl-c's in shells running while we're suspended from
115       having us exit.  */       having us exit.  */
116    SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE);    SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE);
# Line 812  unexec (char *new_name, char *old_name, Line 807  unexec (char *new_name, char *old_name,
807  }  }
808    
809  /* eof */  /* eof */
810    
811    /* arch-tag: fe1d3d1c-ef88-4917-ab22-f12ab16b3254
812       (do not change this comment) */

Legend:
Removed from v.1.21.20.1  
changed lines
  Added in v.1.21.20.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26