diff options
-rw-r--r-- | Build/source/texk/makejvf/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/makejvf/write.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/ChangeLog b/Build/source/texk/makejvf/ChangeLog index 837a124c60d..3eb5c97054b 100644 --- a/Build/source/texk/makejvf/ChangeLog +++ b/Build/source/texk/makejvf/ChangeLog @@ -1,3 +1,7 @@ +2012-01-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * write.c: binary write mode for tfm and vf on Windows. + 2012-01-16 Peter Breitenlohner <peb@mppmu.mpg.de> Update for upTeX-1.00. From TANAKA Takuji <KXD02663@nifty.ne.jp>. 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); |