Preserve errno, and always use g_strerror()

Bug #592461.
This commit is contained in:
Christian Persch
2009-08-20 15:32:22 +02:00
parent a79f929dd6
commit e8dcf330cc
4 changed files with 27 additions and 11 deletions

View File

@ -220,7 +220,7 @@ gif_read (GifContext *context, guchar *buffer, size_t len)
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
_("Failure reading GIF: %s"),
strerror (save_errno));
g_strerror (save_errno));
}
#ifdef IO_GIFDEBUG