Rev 2758 | Rev 2763 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2758 | Rev 2760 | ||
---|---|---|---|
Line 173... | Line 173... | ||
173 | component[len] = '\0'; |
173 | component[len] = '\0'; |
174 | next++; /* eat slash */ |
174 | next++; /* eat slash */ |
175 | len = 0; |
175 | len = 0; |
176 | 176 | ||
177 | /* match the component */ |
177 | /* match the component */ |
178 | while (tmp && !ops->match(tmp, component)) |
178 | while (tmp && !ops->match(cur, tmp, component)) |
179 | tmp = ops->sibling_get(tmp); |
179 | tmp = ops->sibling_get(tmp); |
180 | 180 | ||
181 | /* handle miss: match amongst siblings */ |
181 | /* handle miss: match amongst siblings */ |
182 | if (!tmp) { |
182 | if (!tmp) { |
183 | if ((next > last) && (lflag & L_CREATE)) { |
183 | if ((next > last) && (lflag & L_CREATE)) { |