comparison lib-src/make-docfile.c @ 12350:68508136431f

(main) [MSDOS]: Do set _fmode. This undoes part of the previous change.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jun 1995 19:45:27 +0000
parents dbc55496f684
children f2e9eb6a8939
comparison
equal deleted inserted replaced
12349:f5ba89f88cfd 12350:68508136431f
116 116
117 outfile = stdout; 117 outfile = stdout;
118 118
119 /* Don't put CRs in the DOC file. */ 119 /* Don't put CRs in the DOC file. */
120 #ifdef MSDOS 120 #ifdef MSDOS
121 _fmode = O_BINARY;
121 #if 0 /* Suspicion is that this causes hanging. 122 #if 0 /* Suspicion is that this causes hanging.
122 So instead we require people to use -o on MSDOS. */ 123 So instead we require people to use -o on MSDOS. */
123 _fmode = O_BINARY;
124 (stdout)->_flag &= ~_IOTEXT; 124 (stdout)->_flag &= ~_IOTEXT;
125 _setmode (fileno (stdout), O_BINARY); 125 _setmode (fileno (stdout), O_BINARY);
126 #endif 126 #endif
127 outfile = 0; 127 outfile = 0;
128 #endif /* MSDOS */ 128 #endif /* MSDOS */