diff options
author | rsc <devnull@localhost> | 2004-04-20 02:21:12 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-20 02:21:12 +0000 |
commit | 86fa0d22778563378cd6fb422014aa37aa762d95 (patch) | |
tree | c81f00f591045886fd7561872f8891d1ffde4741 /src | |
parent | a0f1e21ff939612898d63ae2245e47dffc1a8153 (diff) | |
download | plan9port-86fa0d22778563378cd6fb422014aa37aa762d95.tar.gz plan9port-86fa0d22778563378cd6fb422014aa37aa762d95.tar.bz2 plan9port-86fa0d22778563378cd6fb422014aa37aa762d95.zip |
final tweaks for tonight.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/mkfile | 2 | ||||
-rw-r--r-- | src/cmd/plot/libplot/subr.c | 4 | ||||
-rw-r--r-- | src/libmach/mkfile | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/cmd/mkfile b/src/cmd/mkfile index 9731209d..477ca474 100644 --- a/src/cmd/mkfile +++ b/src/cmd/mkfile @@ -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 diff --git a/src/cmd/plot/libplot/subr.c b/src/cmd/plot/libplot/subr.c index 886659fa..48078ed6 100644 --- a/src/cmd/plot/libplot/subr.c +++ b/src/cmd/plot/libplot/subr.c @@ -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; diff --git a/src/libmach/mkfile b/src/libmach/mkfile index 5f93c199..77426436 100644 --- a/src/libmach/mkfile +++ b/src/libmach/mkfile @@ -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 |