diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 13:14:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 13:14:21 +0000 |
commit | 364ebe8a6594821008a8a42c86b81915e026bc31 (patch) | |
tree | e49bf9ea0adac20d2d89f1ac6d38cf2e410473bb /Build | |
parent | f361c6b9b9c1dc533d216c0358a36e5107cce0e3 (diff) |
mtx: Use binary mode for output files (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@26976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/utils/mtx/mtx-0.60d/files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/mtx/mtx-0.60d/files.c b/Build/source/utils/mtx/mtx-0.60d/files.c index 6702bcdd003..48aacc7aae7 100644 --- a/Build/source/utils/mtx/mtx-0.60d/files.c +++ b/Build/source/utils/mtx/mtx-0.60d/files.c @@ -275,9 +275,9 @@ Void OpenFiles() pushFile(infilename); strcpy(outfile_NAME, outfilename); if (outfile != NULL) - outfile = freopen(outfile_NAME, "w", outfile); + outfile = freopen(outfile_NAME, "wb", outfile); else - outfile = fopen(outfile_NAME, "w"); + outfile = fopen(outfile_NAME, "wb"); _SETIO(outfile != NULL, FileNotFound); strcpy(stylefile_NAME, stylefilename); if (stylefile != NULL) |