From: David Schleef Date: Mon, 2 Feb 2004 21:08:52 +0000 (+0000) Subject: Change usage of isblah() to g_ascii_isblah() to be more locale independent. (#133076) X-Git-Tag: BRANCH-RELEASE-0_7_4-ROOT~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38029f4295769d2feffd7ad228589aed5d96a585;p=platform%2Fupstream%2Fgstreamer.git Change usage of isblah() to g_ascii_isblah() to be more locale independent. (#133076) Original commit message from CVS: Change usage of isblah() to g_ascii_isblah() to be more locale independent. (#133076) * gst/gsturi.c: (gst_uri_protocol_check_internal): * gst/gstutils.c: * gst/parse/parse.l: --- diff --git a/ChangeLog b/ChangeLog index 233fd83..b135ef1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-02-02 David Schleef + + Change usage of isblah() to g_ascii_isblah() to be more locale + independent. (#133076) + * gst/gsturi.c: (gst_uri_protocol_check_internal): + * gst/gstutils.c: + * gst/parse/parse.l: + 2004-02-02 Jon Trowbridge reviewed by: David Schleef diff --git a/gst/gsturi.c b/gst/gsturi.c index 17f60d0..3a003d4 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -30,7 +30,6 @@ #include "gstmarshal.h" #include -#include GST_DEBUG_CATEGORY_STATIC (gst_uri_handler_debug); #define GST_CAT_DEFAULT gst_uri_handler_debug @@ -84,9 +83,9 @@ gst_uri_protocol_check_internal (const gchar *uri, gchar **endptr) g_assert (uri != NULL); g_assert (endptr != NULL); - if (isalpha (*check)) { + if (g_ascii_isalpha (*check)) { check++; - while (isalnum (*check)) check++; + while (g_ascii_isalnum (*check)) check++; } *endptr = check; diff --git a/gst/gstutils.c b/gst/gstutils.c index 7f38a9d..2a89ecb 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -22,7 +22,6 @@ #include #include -#include #include "gst_private.h" #include "gstutils.h" diff --git a/gst/parse/parse.l b/gst/parse/parse.l index 9ef980b..ba88e00 100644 --- a/gst/parse/parse.l +++ b/gst/parse/parse.l @@ -1,6 +1,5 @@ %{ #include -#include #include #include "../gst_private.h"