From: Ulrich Drepper Date: Tue, 27 Apr 1999 09:15:56 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_1_1~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6a7609d56147398e6fa412fd7c7210960300505;p=thirdparty%2Fglibc.git Update. * posix/testfnm.c: Add more test cases. --- diff --git a/ChangeLog b/ChangeLog index 0141438499e..6c06e3e8203 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced diff --git a/posix/testfnm.c b/posix/testfnm.c index 5a6c7e12ea6..e300565b1b3 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 }, };