mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Some warning fixes for the Sun compiler (Reported by David L. Cooper II,
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com> Some warning fixes for the Sun compiler (Reported by David L. Cooper II, #136401) * glib/giochannel.c (g_io_channel_read): Return G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte function returns a GIOError. * glib/guniprop.c: Fix some guchar/gchar confusion with special_case_table.
This commit is contained in:
parent
d8ba1394da
commit
0b6eeb2eb4
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -1,3 +1,15 @@
|
||||
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Some warning fixes for the Sun compiler (Reported by
|
||||
David L. Cooper II, #136401)
|
||||
|
||||
* glib/giochannel.c (g_io_channel_read): Return
|
||||
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
|
||||
function returns a GIOError.
|
||||
|
||||
* glib/guniprop.c: Fix some guchar/gchar confusion
|
||||
with special_case_table.
|
||||
|
||||
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
|
||||
|
@ -186,7 +186,7 @@ g_io_channel_read (GIOChannel *channel,
|
||||
{
|
||||
if (bytes_read)
|
||||
*bytes_read = 0;
|
||||
return G_IO_STATUS_NORMAL;
|
||||
return G_IO_ERROR_NONE;
|
||||
}
|
||||
|
||||
g_return_val_if_fail (buf != NULL, G_IO_ERROR_UNKNOWN);
|
||||
|
@ -377,7 +377,7 @@ g_unichar_toupper (gunichar c)
|
||||
gunichar val = ATTTABLE (c >> 8, c & 0xff);
|
||||
if (val >= 0x1000000)
|
||||
{
|
||||
const guchar *p = special_case_table + val - 0x1000000;
|
||||
const gchar *p = special_case_table + val - 0x1000000;
|
||||
return g_utf8_get_char (p);
|
||||
}
|
||||
else
|
||||
@ -414,7 +414,7 @@ g_unichar_tolower (gunichar c)
|
||||
gunichar val = ATTTABLE (c >> 8, c & 0xff);
|
||||
if (val >= 0x1000000)
|
||||
{
|
||||
const guchar *p = special_case_table + val - 0x1000000;
|
||||
const gchar *p = special_case_table + val - 0x1000000;
|
||||
return g_utf8_get_char (p);
|
||||
}
|
||||
else
|
||||
@ -578,7 +578,7 @@ output_special_case (gchar *out_buffer,
|
||||
int type,
|
||||
int which)
|
||||
{
|
||||
const guchar *p = special_case_table + offset;
|
||||
const gchar *p = special_case_table + offset;
|
||||
gint len;
|
||||
|
||||
if (type != G_UNICODE_TITLECASE_LETTER)
|
||||
|
Loading…
Reference in New Issue
Block a user