| # | Line 370 | Line 370 | globmatch( /* check for match of s against pattern p | |
|---|---|---|
| 370 | if (!*p) | |
| 371 | return(0); | |
| 372 | if (*p == '-') { | |
| 373 | < | setmatch += (p[-1] <= *s && *s <= p[1]); |
| 373 | > | setmatch += (p[-1] <= *s) & (*s <= p[1]); |
| 374 | if (!*++p) | |
| 375 | break; | |
| 376 | } else | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |