aboutsummaryrefslogtreecommitdiff
path: root/archivers/unzip/files/extra-zh-patch-fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/unzip/files/extra-zh-patch-fileio.c')
-rw-r--r--archivers/unzip/files/extra-zh-patch-fileio.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/unzip/files/extra-zh-patch-fileio.c b/archivers/unzip/files/extra-zh-patch-fileio.c
new file mode 100644
index 000000000000..b470e62a3f9c
--- /dev/null
+++ b/archivers/unzip/files/extra-zh-patch-fileio.c
@@ -0,0 +1,14 @@
+--- fileio.c.orig 2009-04-20 00:03:44 UTC
++++ fileio.c
+@@ -2240,8 +2240,11 @@ int do_string(__G__ length, option) /*
+
+ /* translate the Zip entry filename coded in host-dependent "extended
+ ASCII" into the compiler's (system's) internal text code page */
++#if 0
++/* cnoize is lazy to read it carefully */
+ Ext_ASCII_TO_Native(G.filename, G.pInfo->hostnum, G.pInfo->hostver,
+ G.pInfo->HasUxAtt, (option == DS_FN_L));
++#endif
+
+ if (G.pInfo->lcflag) /* replace with lowercase filename */
+ STRLOWER(G.filename, G.filename);