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.76 by greg, Tue Dec 12 18:45:53 2023 UTC vs.
Revision 2.77 by greg, Thu Dec 21 23:58:05 2023 UTC

# Line 393 | Line 393 | rmx_load(const char *inspec, RMPref rmp)
393                  }                               /* else open it ourselves */
394                  fp = fopen(inspec, "r");
395          }
396 <        if (!fp)
396 >        if (!fp) {
397 >                fprintf(stderr, "Cannot open for reading: %s\n", inspec);
398                  return(NULL);
399 +        }
400   #ifdef getc_unlocked
401          flockfile(fp);
402   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines