(main) [MSDOS]: Do set _fmode.
authorRichard M. Stallman <rms@gnu.org>
Wed, 21 Jun 1995 19:45:27 +0000 (19:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 21 Jun 1995 19:45:27 +0000 (19:45 +0000)
This undoes part of the previous change.

lib-src/make-docfile.c

index 50b755b..948a725 100644 (file)
@@ -118,9 +118,9 @@ main (argc, argv)
 
   /* Don't put CRs in the DOC file.  */
 #ifdef MSDOS
+  _fmode = O_BINARY;
 #if 0  /* Suspicion is that this causes hanging.
          So instead we require people to use -o on MSDOS.  */
-  _fmode = O_BINARY;
   (stdout)->_flag &= ~_IOTEXT;
   _setmode (fileno (stdout), O_BINARY);
 #endif