On 5/20/2011 4:29 AM, Joe Orton wrote:
>
> I've done one short run this morning with the 1.4.x tip. In the diff vs
> glibc, I filtered out patterns with ']', '[' and '/' within [], and also
> patterns containing \/. Only two patterns remained with different
> behaviour:
>
> 000000009199a75c apr_fnmatch("*?[.].", "/..", 4) = 0, glibc=1
> 00000000a504a704 apr_fnmatch("*?*[^aa]", "/.", 4) = 0, glibc=1
>
> the flag used is APR_FNM_PERIOD. APR looks correct for the first, I am
> not sure why the second is matching.
One can argue glibc is correct for both, in that the leading slash
was only significant if APR_FNM_PATHNAME was given. I'd have to reread
the three docs that sometimes disagree on these things. But in any case,
I would not consider this a blocker, and glad to read you found no other
concerning patterns!