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.45 by greg, Sun Mar 6 16:33:44 2022 UTC vs.
Revision 2.46 by greg, Mon Mar 14 19:25:56 2022 UTC

# Line 363 | Line 363 | globmatch(                     /* check for match of s against pattern p
363                          while (*s++);
364                          return(0);
365                  case '[':                       /* character set */
366 <                        setmatch = *s == *++p;
366 >                        setmatch = (*s == *++p);
367                          if (!*p)
368                                  return(0);
369                          while (*++p != ']') {
# Line 384 | Line 384 | globmatch(                     /* check for match of s against pattern p
384                          p++;
385                  /* fall through */
386                  default:                        /* normal character */
387 <                        if (*p != *s)
387 >                        if (!*s | (*p != *s))
388                                  return(0);
389                          s++;
390                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines