Ignore unknown pragmas.

Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
This commit is contained in:
wkj 2004-05-03 17:26:17 +00:00
parent b1455f33a8
commit 115d4c0afc
5 changed files with 11 additions and 2 deletions

1
bin/9c
View file

@ -12,6 +12,7 @@ usegcc()
-Wno-switch \ -Wno-switch \
-Wno-comment \ -Wno-comment \
-Wno-sign-compare \ -Wno-sign-compare \
-Wno-unknown-pragmas \
-fno-omit-frame-pointer \ -fno-omit-frame-pointer \
" "
# want to put -fno-optimize-sibling-calls here but # want to put -fno-optimize-sibling-calls here but

5
src/cmd/.cvsignore Normal file
View file

@ -0,0 +1,5 @@
o.*
bc.tab.c
bc.tab.h
units.tab.c
units.tab.h

View file

@ -54,7 +54,7 @@ _p9uproc(int inhandler)
while((up = mallocz(sizeof(Uproc), 1)) == nil) while((up = mallocz(sizeof(Uproc), 1)) == nil)
sleep(1000); sleep(1000);
fprint(2, "alloc uproc for pid %d\n", pid); //fprint(2, "alloc uproc for pid %d\n", pid);
up->pid = pid; up->pid = pid;
lock(&uproclock); lock(&uproclock);
h = pid%PIDHASH; h = pid%PIDHASH;

View file

@ -173,7 +173,8 @@ xerror(XDisplay *d, XErrorEvent *e)
static int static int
xioerror(XDisplay *d) xioerror(XDisplay *d)
{ {
print("X I/O error\n"); //print("X I/O error\n");
sysfatal("X I/O error\n");
abort(); abort();
return -1; return -1;
} }

View file

@ -0,0 +1,2 @@
md5block.s
sha1block.s