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.22 by greg, Sat Apr 8 03:56:44 2017 UTC vs.
Revision 2.23 by greg, Sat May 4 00:36:58 2019 UTC

# Line 63 | Line 63 | readobj(                               /* read in an object file or stream */
63          }
64          if (inpspec[0] == '!')
65                  pclose(infp);
66 <        else
66 >        else if (infp != stdin)
67                  fclose(infp);
68          if (nobjects == lastobj) {
69                  sprintf(errmsg, "(%s): empty file", inpspec);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines