mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
to match g_strcasecmp, check if it is lower/upper before converting to
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com> * gstrfuncs.c (g_strup/strdown): to match g_strcasecmp, check if it is lower/upper before converting to upper/lower [ not required by ISO... ] (#55682, Jon Trowbridge)
This commit is contained in:
parent
2d5776656d
commit
96ba1917d8
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jun 4 16:02:57 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
|
||||||
|
check if it is lower/upper before converting to upper/lower
|
||||||
|
[ not required by ISO... ] (#55682, Jon Trowbridge)
|
||||||
|
|
||||||
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gunicode.h: Make a bit more standalone by adding include
|
* gunicode.h: Make a bit more standalone by adding include
|
||||||
|
@ -974,6 +974,7 @@ g_strdown (gchar *string)
|
|||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
if (isupper (*s))
|
||||||
*s = tolower (*s);
|
*s = tolower (*s);
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
@ -992,6 +993,7 @@ g_strup (gchar *string)
|
|||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
if (islower (*s))
|
||||||
*s = toupper (*s);
|
*s = toupper (*s);
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
|
@ -974,6 +974,7 @@ g_strdown (gchar *string)
|
|||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
if (isupper (*s))
|
||||||
*s = tolower (*s);
|
*s = tolower (*s);
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
@ -992,6 +993,7 @@ g_strup (gchar *string)
|
|||||||
|
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
if (islower (*s))
|
||||||
*s = toupper (*s);
|
*s = toupper (*s);
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user