Commit c7d96060 by Russell Belfer

Fix fnmatch comment to be clearer

parent c8c91433
......@@ -55,7 +55,9 @@ p_fnmatchx(const char *pattern, const char *string, int flags, size_t recurs)
case '*':
c = *pattern;
/* Apply '**' to overwrite PATHNAME match */
/* Let '**' override PATHNAME match for this segment.
* It will be restored if/when we recurse below.
*/
if (c == '*') {
flags &= ~FNM_PATHNAME;
while (c == '*')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment