summaryrefslogtreecommitdiff
path: root/archivers/unshield/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/unshield/patches/patch-ab')
-rw-r--r--archivers/unshield/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/unshield/patches/patch-ab b/archivers/unshield/patches/patch-ab
index fd35356a3b4..b1251503c3f 100644
--- a/archivers/unshield/patches/patch-ab
+++ b/archivers/unshield/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.3 2008/05/14 11:56:26 jmcneill Exp $
+$NetBSD: patch-ab,v 1.4 2013/10/23 18:22:44 adam Exp $
---- src/unshield.c.orig 2008-05-05 21:38:10.000000000 -0400
+--- src/unshield.c.orig 2009-06-18 05:11:31.000000000 +0000
+++ src/unshield.c
@@ -2,5 +2,5 @@
#ifdef __linux__
@@ -21,7 +21,7 @@ $NetBSD: patch-ab,v 1.3 2008/05/14 11:56:26 jmcneill Exp $
break;;
}
@@ -319,8 +319,8 @@ static bool extract_file(Unshield* unshi
- for (p = filename; *p != '\0'; p++)
+ for (p = filename + strlen(dirname); *p != '\0'; p++)
{
- if (!isprint(*p))
+ if (!isprint((unsigned char)*p))