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

Comparing ray/src/common/getpath.c (file contents):
Revision 2.22 by greg, Mon Nov 22 18:23:56 2021 UTC vs.
Revision 2.23 by greg, Sun Dec 5 15:44:15 2021 UTC

# Line 101 | Line 101 | getpath(       /* expand fname, return full path */
101          char  *cp;
102          char fname[PATH_MAX];
103  
104 <        if (!fname | (fname == pname))
105 <                return(fname);
104 >        if (!ffname | (ffname == fname))
105 >                return(ffname);
106  
107          /* if we have a dot in the string, we assume there is a file name
108             extension present */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines