Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-05-04 08:30:37 +0400
committerChristopher Faylor <me@cgf.cx>2009-05-04 08:30:37 +0400
commitb7a15524404ee316e205a26c214ca8d3f04f11a3 (patch)
tree8f8a27b5ca566d92d4b14ab9f482adca9c762489 /winsup/cygwin/libc
parentb65ec404a7aa5e036a7d4de415701be7a7efd5fc (diff)
* libc/minires.c (scanline): Accommodate ctype changes which disallow use of an
unadorned char argument to is* macros. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.
Diffstat (limited to 'winsup/cygwin/libc')
-rw-r--r--winsup/cygwin/libc/minires.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/libc/minires.c b/winsup/cygwin/libc/minires.c
index 606c05dee..af7f59f5d 100644
--- a/winsup/cygwin/libc/minires.c
+++ b/winsup/cygwin/libc/minires.c
@@ -43,11 +43,11 @@ static int scanline(char * in, char **list, int * sizes, int maxnum)
int i;
char * startp;
for (i = 0; i < maxnum; i++) {
- while((*in) && (isspace(*in) || *in == ',')) in++;
+ while((*in) && (isspace((unsigned)*in) || *in == ',')) in++;
if (*in == 0)
break;
startp = in++;
- while((*in) && !isspace(*in) && *in != ',') in++;
+ while((*in) && !isspace((unsigned)*in) && *in != ',') in++;
list[i] = startp;
sizes[i] = in - startp + 1;
if (*in)