From 9700b0390e40c7ffaed2a74ae3285edfe6080bd3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 1 Apr 2007 19:44:33 +0000 Subject: * 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. --- posix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index d17e976..6c9a1bf 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -90,7 +90,7 @@ tests := tstgetopt testfnm runtests runptests \ tst-execv1 tst-execv2 tst-execl1 tst-execl2 \ tst-execve1 tst-execve2 tst-execle1 tst-execle2 \ tst-execvp3 tst-execvp4 tst-rfc3484 tst-rfc3484-2 \ - tst-getaddrinfo3 + tst-getaddrinfo3 tst-fnmatch2 xtests := bug-ga2 ifeq (yes,$(build-shared)) test-srcs := globtest -- cgit v1.1