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

Comparing ray/src/util/rmatrix.c (file contents):
Revision 2.98 by greg, Sat Apr 19 17:12:59 2025 UTC vs.
Revision 2.99 by greg, Tue Apr 22 04:45:25 2025 UTC

# Line 424 | Line 424 | rmx_load(const char *inspec)
424  
425          if (fp != stdin) {                      /* close input stream */
426                  if (inspec[0] == '!')
427 <                        pclose(fp);
427 >                        ok &= pclose(fp)==0;
428                  else
429                          fclose(fp);
430          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines