Peng GUAN <[EMAIL PROTECTED]> writes: > Maybe a bug in file "fnmatch.c", line 54: > > ( n==string || (flags & FNM_PATHNAME) && n[-1] == '/')) > > the "n[-1]" should be change to "*(n-1)".
In C n[-1] is exactly the same as *(n-1).
Peng GUAN <[EMAIL PROTECTED]> writes: > Maybe a bug in file "fnmatch.c", line 54: > > ( n==string || (flags & FNM_PATHNAME) && n[-1] == '/')) > > the "n[-1]" should be change to "*(n-1)".
In C n[-1] is exactly the same as *(n-1).