diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-27 09:15:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-27 09:15:56 +0000 |
commit | b6a7609d56147398e6fa412fd7c7210960300505 (patch) | |
tree | b5c8a764dc0e199293d112b5077ffa3acc74f2bc | |
parent | 10bb450d115287e85dcd6699bd9a928c9230cbeb (diff) | |
download | glibc-b6a7609d56147398e6fa412fd7c7210960300505.zip glibc-b6a7609d56147398e6fa412fd7c7210960300505.tar.gz glibc-b6a7609d56147398e6fa412fd7c7210960300505.tar.bz2 |
Update.
* posix/testfnm.c: Add more test cases.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | posix/testfnm.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ * posix/fnmatch.c (internal_fnmatch): Correctly reset string pointer in case of an invalid [[: expression. + * posix/testfnm.c: Add more test cases. + 1999-04-27 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced diff --git a/posix/testfnm.c b/posix/testfnm.c index 5a6c7e1..e300565 100644 --- a/posix/testfnm.c +++ b/posix/testfnm.c @@ -46,6 +46,7 @@ struct { { "a./b", "*[.]/b", FNM_PATHNAME|FNM_PERIOD, 0 }, { "a/b", "*[[:alpha:]]/*[[:alnum:]]", FNM_PATHNAME, 0 }, { "a/b", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, 0 }, + { "a/[", "*[![:digit:]]*/[[:d-d]", FNM_PATHNAME, 0 }, { "a/[", "*[![:digit:]]*/[![:d-d]", FNM_PATHNAME, FNM_NOMATCH }, }; |