summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c2
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)
/* 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