diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 12:02:40 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 12:02:40 +0000 |
commit | 9b5d983d826f99ea00ef534d1f908e3816c58c1b (patch) | |
tree | d423e307912d38e11ea99813a99c6f84263facf6 /Build/source/texk | |
parent | 2d967b1e402fc8983d6800956dfd6c3600057b0d (diff) |
ctie: Use binary mode for output files (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@26961 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-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. |