scat: add to build

This commit is contained in:
Russ Cox 2009-04-30 11:09:52 -07:00
parent 1415e19723
commit 122fda5913
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ TARG=`ls *.[cy] *.lx | egrep -v "\.tab\.c$|^x\." | sed 's/\.[cy]//; s/\.lx//'`
<$PLAN9/src/mkmany
BUGGERED='CVS|faces|factotum|lp|ip|mailfs|scat|upas|vncv|mnihongo|mpm|index|u9fs|secstore|smugfs'
BUGGERED='CVS|faces|factotum|lp|ip|mailfs|upas|vncv|mnihongo|mpm|index|u9fs|secstore|smugfs'
DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
<$PLAN9/src/mkdirs

View file

@ -26,7 +26,7 @@ displaypic(Picture *pic)
dup(p[0], 0);
close(p[0]);
/* execl("/bin/page", "page", "-w", 0); */
execlp("img", "img", 0);
execlp("img", "img", nil);
fprint(2, "exec failed: %r\n");
exits("exec");
@ -43,7 +43,7 @@ displaypic(Picture *pic)
i = n;
if(write(p[1], a, i)!=i)
fprint(2, "write error: %r\n");
/* if(i == 8192) /* page aligned */ */
/* if(i == 8192) /* page aligned */
/* segfree(a, i); */
n -= i;
a += i;
@ -73,7 +73,7 @@ displayimage(Image *im)
close(p[1]);
dup(p[0], 0);
close(p[0]);
execlp("img", "img", 0);
execlp("img", "img", nil);
/* execl("/bin/page", "page", "-w", 0); */
fprint(2, "exec failed: %r\n");
exits("exec");