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

Comparing ray/src/util/rad.c (file contents):
Revision 2.59 by gwlarson, Tue Jan 19 17:46:13 1999 UTC vs.
Revision 2.60 by gwlarson, Tue Feb 2 08:57:56 1999 UTC

# Line 213 | Line 213 | register char  *fnames;
213   {
214          char    thisfile[MAXPATH];
215          time_t  thisdate, lastdate = 0;
216        register char   *cp;
216  
217          if (fnames == NULL)
218                  return(0);
219 <        while (*fnames) {
220 <                while (isspace(*fnames)) fnames++;
221 <                cp = thisfile;
222 <                while (*fnames && !isspace(*fnames))
224 <                        *cp++ = *fnames++;
225 <                *cp = '\0';
219 >        while ((fnames = nextword(thisfile, MAXPATH, fnames)) != NULL) {
220 >                if (thisfile[0] == '!' ||
221 >                                (thisfile[0] == '\\' && thisfile[1] == '!'))
222 >                        continue;
223                  if (!(thisdate = fdate(thisfile)))
224                          syserr(thisfile);
225                  if (thisdate > lastdate)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines