Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 27 Oct 2001 03:00:50 +0000 (03:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 27 Oct 2001 03:00:50 +0000 (03:00 +0000)
* posix/tst-fnmatch.input: Add tests for - at beginning and end of
bracket expression.
* string/tst-strxfrm.c (test): Also test __strxfrm_l.

ChangeLog
NEWS
posix/tst-fnmatch.input
string/tst-strxfrm.c

index d34f0e0..2ee7f91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,9 +2,12 @@
 
        * posix/fnmatch_loop.c: Recognize - at end of bracket expression
        correctly.
+       * posix/tst-fnmatch.input: Add tests for - at beginning and end of
+       bracket expression.
 
        * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
        nrules value.
+       * string/tst-strxfrm.c (test): Also test __strxfrm_l.
 
 2001-10-24  H.J. Lu  <hjl@gnu.org>
 
diff --git a/NEWS b/NEWS
index 824c703..85b2b22 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2001-10-14
+GNU C Library NEWS -- history of user-visible changes.  2001-10-26
 Copyright (C) 1992-2000, 2001 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -19,6 +19,9 @@ Version 2.2.5
 * libc functions using I/O streams now can handle wide-oriented streams
   as well.
 
+* optimizations in the dynamic linker.  binaries created by recent binutils
+  versions start up quicker due to reduced time spend on relocations.
+
 Version 2.2.4
 
 * Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
index 764fe96..faea8e2 100644 (file)
@@ -381,6 +381,14 @@ C          "a"                     "a/"                   NOMATCH PATHNAME
 C              "a/"                    "a"                    NOMATCH PATHNAME
 C              "//a"                   "/a"                   NOMATCH PATHNAME
 C              "/a"                    "//a"                  NOMATCH PATHNAME
+C              "az"                    "[a-]z"                0
+C              "bz"                    "[ab-]z"               0
+C              "cz"                    "[ab-]z"               NOMATCH
+C              "-z"                    "[ab-]z"               0
+C              "az"                    "[-a]z"                0
+C              "bz"                    "[-ab]z"               0
+C              "cz"                    "[-ab]z"               NOMATCH
+C              "-z"                    "[-ab]z"               0
 
 # Following are tests outside the scope of IEEE 2003.2 since they are using
 # locales other than the C locale.  The main focus of the tests is on the
index 94fd67e..aef5e4e 100644 (file)
@@ -15,6 +15,7 @@ test (const char *locale)
   size_t r;
   size_t l;
   char *buf;
+  __locale_t loc;
   int result = 0;
 
   if (setlocale (LC_COLLATE, locale) == NULL)
@@ -37,6 +38,20 @@ test (const char *locale)
               locale, r, l);
        result = 1;
     }
+
+  loc = __newlocale (1 << LC_ALL, locale, NULL);
+
+  r = __strxfrm_l (buf, string, bufsize, loc);
+  l = strlen (buf);
+  if (r != l)
+    {
+       printf ("locale \"%s\": strxfrm_l returned %zu, strlen returned %zu\n",
+              locale, r, l);
+       result = 1;
+    }
+
+  __freelocale (loc);
+
   free (buf);
 
   return result;