diff options
-rw-r--r-- | Build/source/texk/web2c/ctiedir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/ctiedir/ctie-k.ch | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ctiedir/ChangeLog b/Build/source/texk/web2c/ctiedir/ChangeLog index b8def28f2d6..ec8f665963c 100644 --- a/Build/source/texk/web2c/ctiedir/ChangeLog +++ b/Build/source/texk/web2c/ctiedir/ChangeLog @@ -1,3 +1,8 @@ +2012-05-18 Peter Breitenlohner <peb@mppmu.mpg.de> + + * ctie-k.ch: Use binary mode for output files. + From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX). + 2010-04-10 Peter Breitenlohner <peb@mppmu.mpg.de> * ctie-k.ch: Replace "-[m|c]" in usage message by "-m|-c". diff --git a/Build/source/texk/web2c/ctiedir/ctie-k.ch b/Build/source/texk/web2c/ctiedir/ctie-k.ch index 044fef94f7a..eb4cb2de0ca 100644 --- a/Build/source/texk/web2c/ctiedir/ctie-k.ch +++ b/Build/source/texk/web2c/ctiedir/ctie-k.ch @@ -257,6 +257,12 @@ char *s, *t; void pfatal_error (const char *s, const char *t) @z +@x l.731 Use binary mode for output files + out_file=fopen(out_name, "w"); +@y + out_file=fopen(out_name, "wb"); +@z + @x l.747 Use the kpathsea library to do this @ For the master file we start by reading its first line into the buffer, if we could open it. |