mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-01 23:26:16 +01:00
Add a NULL check to be consistent with the other g_utf8_ functions.
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de> * glib/guniprop.c (g_utf8_casefold): Add a NULL check to be consistent with the other g_utf8_ functions. (#121618, Tim-Philipp Müller)
This commit is contained in:
parent
d1a3a46ae8
commit
0fd4b6d674
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 15 23:00:57 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/guniprop.c (g_utf8_casefold): Add a NULL check
|
||||
to be consistent with the other g_utf8_ functions. (#121618,
|
||||
Tim-Philipp Müller)
|
||||
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
|
||||
|
@ -945,6 +945,8 @@ g_utf8_casefold (const gchar *str,
|
||||
GString *result = g_string_new (NULL);
|
||||
const char *p;
|
||||
|
||||
g_return_val_if_fail (str != NULL, NULL);
|
||||
|
||||
p = str;
|
||||
while ((len < 0 || p < str + len) && *p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user