mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
glib/gstrfuncs.c (g_ascii_strncasecmp) Use TOLOWER() macro instead of
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com> * glib/gstrfuncs.c (g_ascii_strncasecmp) * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER() macro instead of g_ascii_tolower() (#107138)
This commit is contained in:
parent
b3ec0170ab
commit
5baeb21e11
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strncasecmp)
|
||||
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
|
||||
macro instead of g_ascii_tolower() (#107138)
|
||||
|
||||
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: Backport better handling
|
||||
|
@ -1738,8 +1738,8 @@ g_ascii_strcasecmp (const gchar *s1,
|
||||
|
||||
while (*s1 && *s2)
|
||||
{
|
||||
c1 = (gint)(guchar) g_ascii_tolower (*s1);
|
||||
c2 = (gint)(guchar) g_ascii_tolower (*s2);
|
||||
c1 = (gint)(guchar) TOLOWER (*s1);
|
||||
c2 = (gint)(guchar) TOLOWER (*s2);
|
||||
if (c1 != c2)
|
||||
return (c1 - c2);
|
||||
s1++; s2++;
|
||||
@ -1779,8 +1779,8 @@ g_ascii_strncasecmp (const gchar *s1,
|
||||
while (n && *s1 && *s2)
|
||||
{
|
||||
n -= 1;
|
||||
c1 = (gint)(guchar) g_ascii_tolower (*s1);
|
||||
c2 = (gint)(guchar) g_ascii_tolower (*s2);
|
||||
c1 = (gint)(guchar) TOLOWER (*s1);
|
||||
c2 = (gint)(guchar) TOLOWER (*s2);
|
||||
if (c1 != c2)
|
||||
return (c1 - c2);
|
||||
s1++; s2++;
|
||||
|
Loading…
Reference in New Issue
Block a user