summaryrefslogtreecommitdiff
path: root/Build/source/texk/makejvf/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/makejvf/write.c')
-rw-r--r--Build/source/texk/makejvf/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/write.c b/Build/source/texk/makejvf/write.c
index 2cd309f30dc..fcaf6ab576d 100644
--- a/Build/source/texk/makejvf/write.c
+++ b/Build/source/texk/makejvf/write.c
@@ -11,7 +11,7 @@ FILE *vfopen(char *name)
int fidshift=0;
if (fidzero) fidshift=-1;
- fp = fopen(name,"w");
+ fp = fopen(name,"wb");
if (fp == NULL) {
fprintf(stderr,"I cannot create VF file, %s.",name);
exit(-1);
@@ -817,7 +817,7 @@ void maketfm(char *name)
strcpy(nbuf,name);
strcat(nbuf,".tfm");
- fp = fopen(nbuf,"w");
+ fp = fopen(nbuf,"wb");
if (fp == NULL) {
fprintf(stderr,"I cannot create TFM file, %s.",name);
exit(-1);