History

NetBSD-macppc ctype needs uchars.

rsc committed 21 years ago

Commit 218d3bf1 parent 3109b7b22 files · +55 −56Browse files

Showing the changes to src/cmd/plot/plot.c (1 of 22 files). Show all

Unified · Split

src/cmd/plot/plot.c+3−3
@@ -494,7 +494,7 @@ void define(char *a){ · 493 unmodified lines
494 short i, j;494 short i, j;
495 int curly = 0;495 int curly = 0;
496 ap = a;496 ap = a;
497 while(isalpha(*ap))ap++;497 while(isalpha((uchar)*ap))ap++;
498 if(ap == a){498 if(ap == a){
499 fprint(2,"no name with define\n");499 fprint(2,"no name with define\n");
500 exits("define");500 exits("define");
@@ -547,7 +547,7 @@ void call(char *a){ · 46 unmodified lines
547 char sav;547 char sav;
548 double SC;548 double SC;
549 ap = a;549 ap = a;
550 while(isalpha(*ap))ap++;550 while(isalpha((uchar)*ap))ap++;
551 sav = *ap;551 sav = *ap;
552 *ap = '\0';552 *ap = '\0';
553 for(f=flibr;f<fptr;f++){553 for(f=flibr;f<fptr;f++){
@@ -559,7 +559,7 @@ void call(char *a){ · 5 unmodified lines
559 exits("undefined");559 exits("undefined");
560 }560 }
561 *ap = sav;561 *ap = sav;
562 while (isspace(*ap) || *ap == ',') 562 while (isspace((uchar)*ap) || *ap == ',')
563 ap++;563 ap++;
564 if (*ap != '\0')564 if (*ap != '\0')
565 SC = atof(ap);565 SC = atof(ap);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t