summaryrefslogtreecommitdiffstats
path: root/app-arch/unzip/files/unzip60-ds-isprint.patch
blob: 64ea1ee1d71dbf49cc7b57e4efcdbfbaf1dd6c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -dPNur unzip60/extract.c unzip60-ds/extract.c
--- unzip60/extract.c	2009-03-14 02:32:52.000000000 +0100
+++ unzip60-ds/extract.c	2010-07-06 16:34:09.000000000 +0200
@@ -2596,7 +2596,7 @@
      */
 #   define UZ_FNFILTER_REPLACECHAR      '?'
 # endif
-        if (!isprint(*r)) {
+        if (*r < 32) { //(!isprint(*r)) {
             if (*r < 32) {
                 /* ASCII control codes are escaped as "^{letter}". */
                 if (se != NULL && (s > (space + (size-4)))) {