diff options
Diffstat (limited to 'Build/source/libs/zziplib/TLPATCHES/patch-01-binary')
-rw-r--r-- | Build/source/libs/zziplib/TLPATCHES/patch-01-binary | 15 |
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); |