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

Diff of /emacs/src/emacs.c

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

revision 1.327 by rms, Mon May 19 14:38:19 2003 UTC revision 1.328 by jasonr, Wed May 21 20:43:38 2003 UTC
# Line 40  Boston, MA 02111-1307, USA.  */ Line 40  Boston, MA 02111-1307, USA.  */
40  #include <sys/ioctl.h>  #include <sys/ioctl.h>
41  #endif  #endif
42    
43    #ifdef WINDOWSNT
44    #include <fcntl.h>
45    #endif
46    
47  #include "lisp.h"  #include "lisp.h"
48  #include "commands.h"  #include "commands.h"
49  #include "intervals.h"  #include "intervals.h"
# Line 955  main (argc, argv Line 959  main (argc, argv
959    uninterrupt_malloc ();    uninterrupt_malloc ();
960  #endif  /* not SYSTEM_MALLOC */  #endif  /* not SYSTEM_MALLOC */
961    
962  #ifdef MSDOS  #if defined (MSDOS) || defined (WINDOWSNT)
963    /* We do all file input/output as binary files.  When we need to translate    /* We do all file input/output as binary files.  When we need to translate
964       newlines, we do that manually.  */       newlines, we do that manually.  */
965    _fmode = O_BINARY;    _fmode = O_BINARY;
966    #endif /* MSDOS || WINDOWSNT */
967    
968    #ifdef MSDOS
969  #if __DJGPP__ >= 2  #if __DJGPP__ >= 2
970    if (!isatty (fileno (stdin)))    if (!isatty (fileno (stdin)))
971      setmode (fileno (stdin), O_BINARY);      setmode (fileno (stdin), O_BINARY);

Legend:
Removed from v.1.327  
changed lines
  Added in v.1.328

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