summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/dvibook.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/seetexk/dvibook.c')
-rw-r--r--Build/source/texk/seetexk/dvibook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/seetexk/dvibook.c b/Build/source/texk/seetexk/dvibook.c
index d33d383f9c7..be8831c17bb 100644
--- a/Build/source/texk/seetexk/dvibook.c
+++ b/Build/source/texk/seetexk/dvibook.c
@@ -20,8 +20,8 @@
#include <kpathsea/c-fopen.h>
#include <kpathsea/getopt.h>
#else
-#define FOPEN_RBIN_MODE "r"
-#define FOPEN_RBIN_MODE "w"
+#define FOPEN_RBIN_MODE "rb"
+#define FOPEN_WBIN_MODE "wb"
#define SET_BINARY(x) (void)0
extern char *optarg;
extern int optind;