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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.44 by greg, Mon Feb 6 22:40:21 2023 UTC vs.
Revision 2.45 by greg, Tue Apr 22 04:45:25 2025 UTC

# Line 207 | Line 207 | filter(                /* process stream */
207                                  error(SYSTEM, errmsg);
208                          }
209                          filter(pfp, buf);
210 <                        pclose(pfp);
210 >                        if (pclose(pfp) != 0) {
211 >                                sprintf(errmsg, "bad status from \"%s\"", buf);
212 >                                error(USER, errmsg);
213 >                        }
214                  } else {                                /* object */
215                          ungetc(c, infp);
216                          xobject(infp, name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines