mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Fixed the use of the is..... and to..... macros, which take unsigned
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the is..... and to..... macros, which take unsigned chars, not chars! Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
2d434bf0f4
commit
c40fbfb8c6
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
@@ -1,3 +1,9 @@
|
||||
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
|
||||
is..... and to..... macros, which take unsigned chars, not chars!
|
||||
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
|
||||
|
||||
Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gerror.c (g_on_error_query): check isatty() before querying so
|
||||
|
2
gdate.c
2
gdate.c
@@ -453,7 +453,7 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
|
||||
{
|
||||
gchar num[4][NUM_LEN+1];
|
||||
gint i;
|
||||
const gchar *s;
|
||||
const guchar *s;
|
||||
|
||||
/* We count 4, but store 3; so we can give an error
|
||||
* if there are 4.
|
||||
|
@@ -453,7 +453,7 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
|
||||
{
|
||||
gchar num[4][NUM_LEN+1];
|
||||
gint i;
|
||||
const gchar *s;
|
||||
const guchar *s;
|
||||
|
||||
/* We count 4, but store 3; so we can give an error
|
||||
* if there are 4.
|
||||
|
@@ -929,7 +929,7 @@ g_printf_string_upper_bound (const gchar* format,
|
||||
void
|
||||
g_strdown (gchar *string)
|
||||
{
|
||||
register gchar *s;
|
||||
register guchar *s;
|
||||
|
||||
g_return_if_fail (string != NULL);
|
||||
|
||||
@@ -945,7 +945,7 @@ g_strdown (gchar *string)
|
||||
void
|
||||
g_strup (gchar *string)
|
||||
{
|
||||
register gchar *s;
|
||||
register guchar *s;
|
||||
|
||||
g_return_if_fail (string != NULL);
|
||||
|
||||
@@ -1103,7 +1103,7 @@ g_strescape (gchar *string)
|
||||
gchar*
|
||||
g_strchug (gchar *string)
|
||||
{
|
||||
gchar *start;
|
||||
guchar *start;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
@@ -1125,7 +1125,8 @@ g_strchomp (gchar *string)
|
||||
if (!*string)
|
||||
return string;
|
||||
|
||||
for (s = string + strlen (string) - 1; s >= string && isspace (*s); s--)
|
||||
for (s = string + strlen (string) - 1; s >= string && isspace ((guchar)*s);
|
||||
s--)
|
||||
*s = '\0';
|
||||
|
||||
return string;
|
||||
|
@@ -441,7 +441,7 @@ GString*
|
||||
g_string_down (GString *fstring)
|
||||
{
|
||||
GRealString *string = (GRealString*)fstring;
|
||||
gchar *s;
|
||||
guchar *s;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
@@ -460,7 +460,7 @@ GString*
|
||||
g_string_up (GString *fstring)
|
||||
{
|
||||
GRealString *string = (GRealString*)fstring;
|
||||
gchar *s;
|
||||
guchar *s;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
|
@@ -929,7 +929,7 @@ g_printf_string_upper_bound (const gchar* format,
|
||||
void
|
||||
g_strdown (gchar *string)
|
||||
{
|
||||
register gchar *s;
|
||||
register guchar *s;
|
||||
|
||||
g_return_if_fail (string != NULL);
|
||||
|
||||
@@ -945,7 +945,7 @@ g_strdown (gchar *string)
|
||||
void
|
||||
g_strup (gchar *string)
|
||||
{
|
||||
register gchar *s;
|
||||
register guchar *s;
|
||||
|
||||
g_return_if_fail (string != NULL);
|
||||
|
||||
@@ -1103,7 +1103,7 @@ g_strescape (gchar *string)
|
||||
gchar*
|
||||
g_strchug (gchar *string)
|
||||
{
|
||||
gchar *start;
|
||||
guchar *start;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
@@ -1125,7 +1125,8 @@ g_strchomp (gchar *string)
|
||||
if (!*string)
|
||||
return string;
|
||||
|
||||
for (s = string + strlen (string) - 1; s >= string && isspace (*s); s--)
|
||||
for (s = string + strlen (string) - 1; s >= string && isspace ((guchar)*s);
|
||||
s--)
|
||||
*s = '\0';
|
||||
|
||||
return string;
|
||||
|
@@ -441,7 +441,7 @@ GString*
|
||||
g_string_down (GString *fstring)
|
||||
{
|
||||
GRealString *string = (GRealString*)fstring;
|
||||
gchar *s;
|
||||
guchar *s;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
@@ -460,7 +460,7 @@ GString*
|
||||
g_string_up (GString *fstring)
|
||||
{
|
||||
GRealString *string = (GRealString*)fstring;
|
||||
gchar *s;
|
||||
guchar *s;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user