mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
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:
This commit is contained in:
parent
30bec331af
commit
38029f4295
4 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-02-02 David Schleef <ds@schleef.org>
|
||||
|
||||
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 <trow@gnu.org>
|
||||
|
||||
reviewed by: David Schleef <ds@schleef.org>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "gstmarshal.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
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;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "gst_private.h"
|
||||
#include "gstutils.h"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
%{
|
||||
#include <math.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../gst_private.h"
|
||||
|
|
Loading…
Reference in a new issue