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

Comparing ray/src/gen/replmarks.c (file contents):
Revision 2.18 by greg, Fri Feb 12 00:53:56 2021 UTC vs.
Revision 2.19 by greg, Tue Apr 22 04:45:25 2025 UTC

# Line 183 | Line 183 | cvcomm(                /* convert a command */
183                          exit(1);
184                  }
185                  convert(buf, pin);
186 <                pclose(pin);
186 >                if (pclose(pin) != 0) {
187 >                        fprintf(stderr,
188 >                        "%s: (%s): bad status from \"%s\"\n",
189 >                                        progname, fname, buf);
190 >                        exit(1);
191 >                }
192          } else
193                  printf("\n%s\n", buf);
194   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines