diff options
| author | Richard M. Stallman | 1995-06-21 19:45:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-21 19:45:27 +0000 |
| commit | 5281dea44219384e830d49e7ac646ce93ccf4814 (patch) | |
| tree | 320bbbf8a9c0af429fdefb87388c282f161daa8d /lib-src/make-docfile.c | |
| parent | cbfc04e02ca6961cb4e730971fae67cb64e20767 (diff) | |
| download | emacs-5281dea44219384e830d49e7ac646ce93ccf4814.tar.gz emacs-5281dea44219384e830d49e7ac646ce93ccf4814.zip | |
(main) [MSDOS]: Do set _fmode.
This undoes part of the previous change.
Diffstat (limited to 'lib-src/make-docfile.c')
| -rw-r--r-- | lib-src/make-docfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 50b755b41bb..948a7257089 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -118,9 +118,9 @@ main (argc, argv) | |||
| 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 |