diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-01-17 13:15:04 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-01-17 13:15:04 +0000 |
commit | bd671452b609d6d595ec0be1c068a6930ffd3df5 (patch) | |
tree | 2e16fdb7c707da3979823e9db8a202a425fc6c9a /Build/source/texk | |
parent | 68136c1f4afc828673d5a08a146e46c263d83042 (diff) |
binary write mode for vf and tfm
git-svn-id: svn://tug.org/texlive/trunk@25131 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-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); |