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:
Owen Taylor 2001-06-04 20:06:14 +00:00 committed by Owen Taylor
parent 2d5776656d
commit 96ba1917d8
10 changed files with 56 additions and 4 deletions

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -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>
* gunicode.h: Make a bit more standalone by adding include

View File

@ -974,7 +974,8 @@ g_strdown (gchar *string)
while (*s)
{
*s = tolower (*s);
if (isupper (*s))
*s = tolower (*s);
s++;
}
@ -992,7 +993,8 @@ g_strup (gchar *string)
while (*s)
{
*s = toupper (*s);
if (islower (*s))
*s = toupper (*s);
s++;
}

View File

@ -974,7 +974,8 @@ g_strdown (gchar *string)
while (*s)
{
*s = tolower (*s);
if (isupper (*s))
*s = tolower (*s);
s++;
}
@ -992,7 +993,8 @@ g_strup (gchar *string)
while (*s)
{
*s = toupper (*s);
if (islower (*s))
*s = toupper (*s);
s++;
}