final tweaks for tonight.

This commit is contained in:
rsc 2004-04-20 02:21:12 +00:00
parent a0f1e21ff9
commit 86fa0d2277
3 changed files with 3 additions and 5 deletions

View file

@ -6,7 +6,7 @@ SHORTLIB=sec fs mux regexp9 draw thread bio 9
<$PLAN9/src/mkmany
BUGGERED='CVS|faces|factotum|mk|upas|vac|venti'
BUGGERED='CVS|faces|factotum|mailfs|mk|upas|vac|venti'
DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"`
<$PLAN9/src/mkdirs

View file

@ -14,7 +14,7 @@ struct penvir *e0 = E, *e1 = &E[1], *esave;
int
bcolor(char *s){
int c;
while (*s != NULL) {
while (*s != 0) {
switch (*s) {
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
@ -50,7 +50,7 @@ print("RED");
e1->pslant = (180. - atof(s + 1)) / RADIAN;
return(-1);
}
while (*++s != NULL)
while (*++s != 0)
if (*s == '/') {
s++;
break;

View file

@ -57,8 +57,6 @@ dwarfdump: dwarfdump.o $LIBDIR/$LIB
nm: nm.o $LIBDIR/$LIB
$LD -o $target $prereq -l9
Linux.$O: ptrace.c
FreeBSD.$O: ptrace.c
SunOS.$O: nosys.c
Darwin.$O: nosys.c
OpenBSD.$O: nosys.c