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

Comparing ray/src/common/readobj.c (file contents):
Revision 2.27 by greg, Tue Apr 22 04:45:25 2025 UTC vs.
Revision 2.29 by greg, Sat Jun 7 05:09:45 2025 UTC

# Line 14 | Line 14 | static const char RCSid[] = "$Id$";
14   #include  <stdio.h>
15  
16   #include  "platform.h"
17 #include  "paths.h"
17   #include  "standard.h"
18   #include  "object.h"
19   #include  "otypes.h"
# Line 67 | Line 66 | readobj(                               /* read in an object file or stream */
66          if (inpspec[0] == '!') {
67                  if (pclose(infp) != 0) {
68                          sprintf(errmsg, "bad status from \"%s\"", inpspec);
69 <                        error(USER, errmsg);
69 >                        error(WARNING, errmsg);
70                  }
71          } else if (infp != stdin)
72                  fclose(infp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines