| # | Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 16 | ||
| 17 | #include "resolu.h" | |
| 18 | ||
| 19 | < | #define MAXFILE 32 |
| 19 | > | #define MAXFILE 64 |
| 20 | ||
| 21 | /* output picture size */ | |
| 22 | int xsiz = 0; | |
| # | Line 356 | Line 356 | err: | |
| 356 | quit(code) /* exit gracefully */ | |
| 357 | int code; | |
| 358 | { | |
| 359 | + | int status; |
| 360 | + | |
| 361 | + | if (code == 0) /* reap any children */ |
| 362 | + | while (wait(&status) != -1) |
| 363 | + | if (code == 0) |
| 364 | + | code = status>>8 & 0xff; |
| 365 | exit(code); | |
| 366 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |