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

Comparing ray/src/rt/func.c (file contents):
Revision 1.5 by greg, Wed Apr 19 21:36:11 1989 UTC vs.
Revision 1.6 by greg, Thu Jul 27 22:25:13 1989 UTC

# Line 97 | Line 97 | char  *fname;
97          extern char  *libpath;          /* library search path */
98          char  *ffname;
99  
100 <        if ((ffname = getpath(fname, libpath)) == NULL) {
100 >        if ((ffname = getpath(fname, libpath, R_OK)) == NULL) {
101                  sprintf(errmsg, "cannot find function file \"%s\"", fname);
102                  error(USER, errmsg);
103          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines