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

Comparing ray/src/common/readmesh.c (file contents):
Revision 2.16 by greg, Tue Nov 27 06:30:05 2018 UTC vs.
Revision 2.17 by greg, Sat May 4 00:36:58 2019 UTC

# Line 290 | Line 290 | int    flags;
290                          getpatch(&mp->patch[i]);
291          }
292                                          /* clean up */
293 <        fclose(meshfp);
293 >        if (meshfp != stdin)
294 >                fclose(meshfp);
295          mp->ldflags |= flags;
296                                          /* verify data */
297          if ((err = checkmesh(mp)) != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines