--- ray/src/px/pcompos.c 1992/07/13 15:04:15 2.8 +++ ray/src/px/pcompos.c 1992/08/11 18:40:57 2.10 @@ -116,6 +116,11 @@ char *argv[]; goto userr; } dofiles: + if (ysiz > 0 & ncolumns > 0) { + fprintf(stderr, "%s: -a option incompatible with -y\n", + progname); + quit(1); + } for (nfile = 0; an < argc; nfile++) { if (nfile >= MAXFILE) goto toomany; @@ -356,5 +361,11 @@ err: quit(code) /* exit gracefully */ int code; { + int status; + + if (code == 0) /* reap any children */ + while (wait(&status) != -1) + if (code == 0) + code = status>>8 & 0xff; exit(code); }