head 1.5; access; symbols pkgsrc-2017Q2:1.4.0.30 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.28 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.26 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.24 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.22 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.20 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.18 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.16 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.14 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.12 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.10 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.8 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.6 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.4 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.2 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.3.0.48 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.46 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.44 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.42 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.40 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.38 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.36 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.34 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.32 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.30 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.28 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.26 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.24 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.22 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.20 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.18 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.16 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.14 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.12 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.2 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.1.1.0.2 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2017.08.29.11.18.41; author martin; state dead; branches; next 1.4; commitid fqPV2ABadxgoe65A; 1.4 date 2013.10.23.18.22.44; author adam; state Exp; branches; next 1.3; commitid VCdINnF6ensSLrax; 1.3 date 2008.05.14.11.56.26; author jmcneill; state Exp; branches; next 1.2; 1.2 date 2005.10.31.05.41.41; author minskim; state Exp; branches; next 1.1; 1.1 date 2005.08.01.14.22.02; author martin; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.08.01.14.22.02; author martin; state Exp; branches; next ; desc @@ 1.5 log @Update to 1.4.2 @ text @$NetBSD: patch-ab,v 1.4 2013/10/23 18:22:44 adam Exp $ --- src/unshield.c.orig 2009-06-18 05:11:31.000000000 +0000 +++ src/unshield.c @@@@ -2,5 +2,5 @@@@ #ifdef __linux__ #define _BSD_SOURCE 1 -#define _POSIX_C_SOURCE 2 +/* #define _POSIX_C_SOURCE 2 */ #endif #include @@@@ -299,8 +299,8 @@@@ static bool extract_file(Unshield* unshi default: - if (!isprint(*p)) + if (!isprint((unsigned char)*p)) *p = '_'; else if (make_lowercase) - *p = tolower(*p); + *p = tolower((unsigned char)*p); break;; } @@@@ -319,8 +319,8 @@@@ static bool extract_file(Unshield* unshi for (p = filename + strlen(dirname); *p != '\0'; p++) { - if (!isprint(*p)) + if (!isprint((unsigned char)*p)) *p = '_'; else if (make_lowercase) - *p = tolower(*p); + *p = tolower((unsigned char)*p); } @ 1.4 log @Changes 0.6: fix use of -L (lowercase) option with -d @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2008/05/14 11:56:26 jmcneill Exp $ @ 1.3 log @Update to unshield 0.5.1. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/unshield.c.orig 2008-05-05 21:38:10.000000000 -0400 d24 1 a24 1 for (p = filename; *p != '\0'; p++) @ 1.2 log @Regen to make GNU patch happy. @ text @d3 1 a3 1 --- src/unshield.c.orig 2005-07-08 07:08:37.000000000 -0700 d5 2 a6 1 @@@@ -2,3 +2,3 @@@@ d10 4 a13 2 #include "../lib/libunshield.h" @@@@ -280,6 +280,6 @@@@ static bool extract_file(Unshield* unshi d22 3 a24 1 @@@@ -300,6 +300,6 @@@@ static bool extract_file(Unshield* unshi d33 1 @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- src/unshield.c.orig 2005-07-08 16:08:37.000000000 +0200 +++ src/unshield.c 2005-08-01 15:31:14.000000000 +0200 @@@@ -2,5 +2,5 @@@@ d10 1 a10 5 #include #include @@@@ -278,10 +278,10 @@@@ break; d19 1 a19 5 } } @@@@ -298,10 +298,10 @@@@ for (p = filename; *p != '\0'; p++) a27 2 printf(" extracting: %s\n", filename); @ 1.1.1.1 log @Import of unshield-0.5, a tool to extract .CAB archives in InstallShield format. @ text @@