mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 02:52:22 +00:00
Fix fnmatch comment to be clearer
This commit is contained in:
parent
c8c91433a8
commit
c7d9606066
@ -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 == '*')
|
||||
|
Loading…
Reference in New Issue
Block a user