diff options
author | rsc <devnull@localhost> | 2005-09-09 23:16:15 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-09 23:16:15 +0000 |
commit | 3bd56b04a8bab7208494fd7dc74af5528fc41604 (patch) | |
tree | edf470d36f67c5726bc93f1b4bc185a516b888b9 /src/cmd/plot | |
parent | 94d85bc000866ecb4874e0e5bdcf30de4a84862e (diff) | |
download | plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.gz plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.bz2 plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.zip |
NetBSD-macppc ctype needs uchars.
Diffstat (limited to 'src/cmd/plot')
-rw-r--r-- | src/cmd/plot/plot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/plot/plot.c b/src/cmd/plot/plot.c index 1360f686..2fe216af 100644 --- a/src/cmd/plot/plot.c +++ b/src/cmd/plot/plot.c @@ -494,7 +494,7 @@ void define(char *a){ short i, j; int curly = 0; ap = a; - while(isalpha(*ap))ap++; + while(isalpha((uchar)*ap))ap++; if(ap == a){ fprint(2,"no name with define\n"); exits("define"); @@ -547,7 +547,7 @@ void call(char *a){ char sav; double SC; ap = a; - while(isalpha(*ap))ap++; + while(isalpha((uchar)*ap))ap++; sav = *ap; *ap = '\0'; for(f=flibr;f<fptr;f++){ @@ -559,7 +559,7 @@ void call(char *a){ exits("undefined"); } *ap = sav; - while (isspace(*ap) || *ap == ',') + while (isspace((uchar)*ap) || *ap == ',') ap++; if (*ap != '\0') SC = atof(ap); |