Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-libAfterStep_parser__xml.c,v 1.1 2016/05/01 19:26:35 dholland Exp $
Use ctype.h correctly.
--- libAfterStep/parser_xml.c~ 2006-07-18 17:36:36.000000000 +0000
+++ libAfterStep/parser_xml.c
@@ -186,7 +186,7 @@ statement2xml_elem (ConfigDef * config)
}else if (get_flags(pterm->flags, TF_INDEXED))
{
int i = 0 ;
- while( isdigit(ptr[i]) ) ++i;
+ while( isdigit((unsigned char)ptr[i]) ) ++i;
if( i > 0 )
{
index = mystrndup(ptr, i);