mirror of git://sourceware.org/git/glibc.git
Update.
1998-12-12 Geoff Keating <geoffk@ozemail.com.au> * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have side-effects.
This commit is contained in:
parent
c090aa1511
commit
9fc19e48b5
|
@ -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>
|
1998-12-12 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
|
* iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
1998-12-12 Ulrich Drepper <drepper@cygnus.com>
|
1998-12-12 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* charmaps/ISO-8859-13: New file.
|
||||||
* charmaps/ISO-8859-14: New file.
|
* charmaps/ISO-8859-14: New file.
|
||||||
* charmaps/ISO-8859-15: New file.
|
* charmaps/ISO-8859-15: New file.
|
||||||
|
|
||||||
|
|
|
@ -800,8 +800,8 @@ void
|
||||||
sort_strings (char **array, int nstrings)
|
sort_strings (char **array, int nstrings)
|
||||||
@{
|
@{
|
||||||
/* @r{Sort @code{temp_array} by comparing the strings.} */
|
/* @r{Sort @code{temp_array} by comparing the strings.} */
|
||||||
qsort (array, sizeof (char *),
|
qsort (array, nstrings,
|
||||||
nstrings, compare_elements);
|
sizeof (char *), compare_elements);
|
||||||
@}
|
@}
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
|
|
|
@ -245,7 +245,8 @@ fnmatch (pattern, string, flags)
|
||||||
{
|
{
|
||||||
if (*p == '\0')
|
if (*p == '\0')
|
||||||
return FNM_NOMATCH;
|
return FNM_NOMATCH;
|
||||||
c = FOLD (*p++);
|
c = FOLD (*p);
|
||||||
|
++p;
|
||||||
|
|
||||||
if (c == fn)
|
if (c == fn)
|
||||||
goto matched;
|
goto matched;
|
||||||
|
|
Loading…
Reference in New Issue