ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pcompos.c
(Generate patch)

Comparing ray/src/px/pcompos.c (file contents):
Revision 2.8 by greg, Mon Jul 13 15:04:15 1992 UTC vs.
Revision 2.10 by greg, Tue Aug 11 18:40:57 1992 UTC

# Line 116 | Line 116 | char  *argv[];
116                          goto userr;
117                  }
118   dofiles:
119 +        if (ysiz > 0 & ncolumns > 0) {
120 +                fprintf(stderr, "%s: -a option incompatible with -y\n",
121 +                                progname);
122 +                quit(1);
123 +        }
124          for (nfile = 0; an < argc; nfile++) {
125                  if (nfile >= MAXFILE)
126                          goto toomany;
# Line 356 | Line 361 | err:
361   quit(code)              /* exit gracefully */
362   int  code;
363   {
364 +        int  status;
365 +
366 +        if (code == 0)                  /* reap any children */
367 +                while (wait(&status) != -1)
368 +                        if (code == 0)
369 +                                code = status>>8 & 0xff;
370          exit(code);
371   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines