]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 12 Dec 1998 22:10:30 +0000 (22:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 12 Dec 1998 22:10:30 +0000 (22:10 +0000)
1998-12-12  Geoff Keating  <geoffk@ozemail.com.au>

* posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
side-effects.

ChangeLog
localedata/ChangeLog
manual/string.texi
posix/fnmatch.c

index dc8583601f0d63541068c92835c52fc33193ffec..2295b5d741fc2bc919fc3391fcedc7c112c07b64 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-12-12  Geoff Keating  <geoffk@ozemail.com.au> 
+       * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have 
+       side-effects. 
 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
 
        * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
index 023029bb8910b7ef5a9780e81f785a8510666e0b..a15d6decfc7a1926e661c3917cd4bcd1b0f2c861 100644 (file)
@@ -1,5 +1,6 @@
 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
 
+       * charmaps/ISO-8859-13: New file.
        * charmaps/ISO-8859-14: New file.
        * charmaps/ISO-8859-15: New file.
 
index c6bca05d1c7385044ccc2f0c8ef02fc5514f4408..ae4ba659af978afe4ba20ffc9c5e7c0bedaa669b 100644 (file)
@@ -800,8 +800,8 @@ void
 sort_strings (char **array, int nstrings)
 @{
   /* @r{Sort @code{temp_array} by comparing the strings.} */
-  qsort (array, sizeof (char *),
-         nstrings, compare_elements);
+  qsort (array, nstrings,
+         sizeof (char *), compare_elements);
 @}
 @end smallexample
 
index 2d6f6afbd5282af7d1422462af7c452dfdd43d03..6d48be3ca478ae4326e74211ea0a02e3ddeea9c8 100644 (file)
@@ -245,7 +245,8 @@ fnmatch (pattern, string, flags)
                  {
                    if (*p == '\0')
                      return FNM_NOMATCH;
-                   c = FOLD (*p++);
+                   c = FOLD (*p);
+                   ++p;
 
                    if (c == fn)
                      goto matched;