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

Comparing ray/src/gen/xform.c (file contents):
Revision 2.51 by greg, Sun Dec 2 16:30:30 2018 UTC vs.
Revision 2.52 by greg, Tue Apr 22 04:45:25 2025 UTC

# Line 394 | Line 394 | xfcomm(                        /* transform a command */
394                          exit(1);
395                  }
396                  xform(buf, pin);
397 <                pclose(pin);
397 >                if (pclose(pin) != 0) {
398 >                        fprintf(stderr, "%s: (%s): bad status from \"%s\"\n",
399 >                                        progname, fname, buf);
400 >                        exit(1);
401 >                }
402          } else {
403                  printf("\n%s", buf);
404                  if (xac > 1) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines