summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/TLPATCHES/patch-01-binary
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
commit5ef2fb04a27cd5ef7c85fbefec889b2503259290 (patch)
tree5d213e7091d68bc4226e68d6ad83ffc774dfe370 /Build/source/libs/zziplib/TLPATCHES/patch-01-binary
parentcdedcff919defc8bac478adf4411c495e08ccd25 (diff)
rename foo/foo-PATCHES to foo/TLPATCHES for better completion
git-svn-id: svn://tug.org/texlive/trunk@43212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/zziplib/TLPATCHES/patch-01-binary')
-rw-r--r--Build/source/libs/zziplib/TLPATCHES/patch-01-binary15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/TLPATCHES/patch-01-binary b/Build/source/libs/zziplib/TLPATCHES/patch-01-binary
new file mode 100644
index 00000000000..4d528511791
--- /dev/null
+++ b/Build/source/libs/zziplib/TLPATCHES/patch-01-binary
@@ -0,0 +1,15 @@
+diff -ur zziplib-0.13.62.orig/bins/unzzip.c zziplib-0.13.62/bins/unzzip.c
+--- zziplib-0.13.62.orig/bins/unzzip.c 2009-08-23 13:38:22.000000000 +0200
++++ zziplib-0.13.62/bins/unzzip.c 2014-07-11 09:50:50.000000000 +0200
+@@ -72,7 +72,11 @@
+ continue;
+ }
+
++#ifdef _WIN32
++ output = _open (d.d_name, _O_CREAT | _O_BINARY | _O_RDWR);
++#else
+ output = creat (d.d_name, 0664);
++#endif
+ if (output == -1)
+ {
+ fprintf (stderr, "|output file %s: \n", d.d_name);