From 9b5d983d826f99ea00ef534d1f908e3816c58c1b Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 9 Jul 2012 12:02:40 +0000 Subject: ctie: Use binary mode for output files (from W32TeX) git-svn-id: svn://tug.org/texlive/trunk@26961 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ctiedir/ChangeLog | 5 +++++ Build/source/texk/web2c/ctiedir/ctie-k.ch | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'Build/source/texk/web2c') 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 + + * ctie-k.ch: Use binary mode for output files. + From Akira Kakuto (W32TeX). + 2010-04-10 Peter Breitenlohner * 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. -- cgit v1.2.3