diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-18 00:35:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-18 00:35:36 +0000 |
commit | ff3def13189580da6fe5254355c8f3b8091bb0fb (patch) | |
tree | 13092e119e26dd5354f66cf3746dd0a0cbdd8cb2 /Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary | |
parent | 2721345a8954f1846ff48ba10e634bc65e7b954d (diff) |
pmx 2.6.18 (16may12)
git-svn-id: svn://tug.org/texlive/trunk@26478 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary')
-rw-r--r-- | Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary b/Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary new file mode 100644 index 00000000000..16819f76212 --- /dev/null +++ b/Build/source/utils/pmx/pmx-2.6.18-PATCHES/patch-01-binary @@ -0,0 +1,17 @@ + On Windows fseek() etc. are meaningful only for binary access. + + Mail from Akira, 29 Mar 2012 23:50:53. + +diff -ur pmx-2.6.17.orig/libf2c/open.c pmx-2.6.17/libf2c/open.c +--- pmx-2.6.17.orig/libf2c/open.c 2012-03-26 12:09:53.000000000 +0200 ++++ pmx-2.6.17/libf2c/open.c 2012-03-29 17:12:53.000000000 +0200 +@@ -30,6 +30,9 @@ + #ifdef NON_ANSI_RW_MODES + char *f__r_mode[2] = {"r", "r"}; + char *f__w_mode[4] = {"w", "w", "r+w", "r+w"}; ++#elif defined(WIN32) ++char *f__r_mode[2] = {"rb", "rb"}; ++char *f__w_mode[4] = {"wb", "wb", "rb+", "rb+"}; + #else + char *f__r_mode[2] = {"rb", "r"}; + char *f__w_mode[4] = {"wb", "w", "r+b", "r+"}; |