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

Comparing ray/src/common/header.c (file contents):
Revision 2.18 by greg, Sat Jul 12 15:14:44 2003 UTC vs.
Revision 2.19 by schorsch, Mon Jul 21 22:30:17 2003 UTC

# Line 311 | Line 311 | FILE  *fout;
311          if (!cdat.fs[0])
312                  return(0);
313          for (cp = fmt; *cp; cp++)               /* check for globbing */
314 <                if (*cp == '?' | *cp == '*')
314 >                if (*cp == '?' | *cp == '*') {
315                          if (globmatch(fmt, cdat.fs)) {
316                                  strcpy(fmt, cdat.fs);
317                                  return(1);
318                          } else
319                                  return(-1);
320 +                }
321          return(strcmp(fmt, cdat.fs) ? -1 : 1);  /* literal match */
322   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines