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

Comparing ray/src/common/image.c (file contents):
Revision 2.49 by greg, Tue Aug 7 23:17:06 2018 UTC vs.
Revision 2.50 by greg, Sat May 4 00:36:58 2019 UTC

# Line 630 | Line 630 | RESOLU  *rp
630          if (rp != NULL && !fgetsresolu(rp, fp))
631                  mvs.ok = 0;
632  
633 <        fclose(fp);
633 >        if (fp != stdin)
634 >                fclose(fp);
635  
636          return(mvs.ok);
637   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines