Final updates for 2.0.0

Fri Mar  8 10:20:46 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Final updates for 2.0.0

        * glib/gstrfuncs.c: Convert the results of strerror()
        and strsignal() to UTF-8.

        * glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
        glib/giowin32.c: Use g_strerror(), not strerror().
This commit is contained in:
Owen Taylor
2002-03-08 15:50:54 +00:00
committed by Owen Taylor
parent dac25522cd
commit cef5d28c89
17 changed files with 164 additions and 34 deletions

View File

@@ -201,7 +201,7 @@ g_io_unix_read (GIOChannel *channel,
default:
g_set_error (err, G_IO_CHANNEL_ERROR,
g_io_channel_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return G_IO_STATUS_ERROR;
}
}
@@ -241,7 +241,7 @@ g_io_unix_write (GIOChannel *channel,
default:
g_set_error (err, G_IO_CHANNEL_ERROR,
g_io_channel_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return G_IO_STATUS_ERROR;
}
}
@@ -283,7 +283,7 @@ g_io_unix_seek (GIOChannel *channel,
{
g_set_error (err, G_IO_CHANNEL_ERROR,
g_io_channel_error_from_errno (EINVAL),
strerror (EINVAL));
g_strerror (EINVAL));
return G_IO_STATUS_ERROR;
}
@@ -293,7 +293,7 @@ g_io_unix_seek (GIOChannel *channel,
{
g_set_error (err, G_IO_CHANNEL_ERROR,
g_io_channel_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return G_IO_STATUS_ERROR;
}
@@ -311,7 +311,7 @@ g_io_unix_close (GIOChannel *channel,
{
g_set_error (err, G_IO_CHANNEL_ERROR,
g_io_channel_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return G_IO_STATUS_ERROR;
}
@@ -510,7 +510,7 @@ g_io_channel_new_file (const gchar *filename,
{
g_set_error (error, G_FILE_ERROR,
g_file_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return (GIOChannel *)NULL;
}
@@ -519,7 +519,7 @@ g_io_channel_new_file (const gchar *filename,
close (fid);
g_set_error (error, G_FILE_ERROR,
g_file_error_from_errno (errno),
strerror (errno));
g_strerror (errno));
return (GIOChannel *)NULL;
}