summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
34ca58d)
suffix match stay in the wildcard-matching list.
/* Move *.foo items into the stuffix tree. */
if (*start == '*' && start[1] == '.' && start[2]
/* Move *.foo items into the stuffix tree. */
if (*start == '*' && start[1] == '.' && start[2]
- && !strchr(start+2, '.')) {
+ && !strpbrk(start+2, ".?*")) {
add_suffix(&suftree, start[2], start+3);
t = start;
}
add_suffix(&suftree, start[2], start+3);
t = start;
}