* posix/fnmatch.c (STRUCT): Define.
authorUlrich Drepper <drepper@redhat.com>
Sun, 1 Apr 2007 19:44:33 +0000 (19:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 1 Apr 2007 19:44:33 +0000 (19:44 +0000)
commit9700b0390e40c7ffaed2a74ae3285edfe6080bd3
tree51b814dcdce050fc10f562542b36bd5956ed6fce
parented09a96ca8b1b9c830343b977f317ca11d691a27
* posix/fnmatch.c (STRUCT): Define.

(fnmatch): Pass NULL as last argument to internal_fn{,w}match.
* posix/fnmatch_loop.c (struct STRUCT): New type.
(FCT): Add ends argument.  If ends != NULL and normal * is
seen in the pattern, store current pattern and string pointers
and return.  Adjust recursive calls.
(EXT): Adjust FCT callers.
(STRUCT): Undef at the end of the file.
* posix/Makefile (tests): Add tst-fnmatch2.
* posix/tst-fnmatch2.c: New test.
ChangeLog
posix/Makefile
posix/fnmatch.c
posix/fnmatch_loop.c