mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Make it take a guint for number of characters, instead of a gsize.
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org> * glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number of characters, instead of a gsize. Technically this is incorrect, but this makes it match the prototype, and this is a deprecated function anyway.
This commit is contained in:
parent
465c7d1ead
commit
e24b2f8cb5
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
|
||||||
|
of characters, instead of a gsize. Technically this is incorrect,
|
||||||
|
but this makes it match the prototype, and this is a deprecated
|
||||||
|
function anyway.
|
||||||
|
|
||||||
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
|
||||||
|
of characters, instead of a gsize. Technically this is incorrect,
|
||||||
|
but this makes it match the prototype, and this is a deprecated
|
||||||
|
function anyway.
|
||||||
|
|
||||||
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
|
||||||
|
of characters, instead of a gsize. Technically this is incorrect,
|
||||||
|
but this makes it match the prototype, and this is a deprecated
|
||||||
|
function anyway.
|
||||||
|
|
||||||
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
|
||||||
|
of characters, instead of a gsize. Technically this is incorrect,
|
||||||
|
but this makes it match the prototype, and this is a deprecated
|
||||||
|
function anyway.
|
||||||
|
|
||||||
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Sep 16 18:15:32 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstrfuncs.c (g_strncasecmp): Make it take a guint for number
|
||||||
|
of characters, instead of a gsize. Technically this is incorrect,
|
||||||
|
but this makes it match the prototype, and this is a deprecated
|
||||||
|
function anyway.
|
||||||
|
|
||||||
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
2004-09-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
* glib/Makefile.am (EXTRA_DIST): Add abicheck.sh
|
||||||
|
@ -1876,7 +1876,7 @@ g_strcasecmp (const gchar *s1,
|
|||||||
gint
|
gint
|
||||||
g_strncasecmp (const gchar *s1,
|
g_strncasecmp (const gchar *s1,
|
||||||
const gchar *s2,
|
const gchar *s2,
|
||||||
gsize n)
|
guint n)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_STRNCASECMP
|
#ifdef HAVE_STRNCASECMP
|
||||||
return strncasecmp (s1, s2, n);
|
return strncasecmp (s1, s2, n);
|
||||||
|
Loading…
Reference in New Issue
Block a user