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

Comparing ray/src/common/fixargv0.c (file contents):
Revision 2.8 by greg, Fri Aug 5 00:12:46 2016 UTC vs.
Revision 2.9 by greg, Fri Jul 24 16:58:16 2020 UTC

# Line 24 | Line 24 | fixargv0(char *av0)            /* extract command name from full
24                          end = cp;
25                          continue;
26                  case '\\':                      /* remove directory */
27 +                case '/':
28                          /* make sure the original pointer remains the same */
29                          memmove(av0, cp+1, end-cp);
30                          return(av0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines