Ignore the error if iconv doesn't support EUC-JP.

* tests/iochannel-test.c: Ignore the error if iconv doesn't
        support EUC-JP.


svn path=/trunk/; revision=7182
This commit is contained in:
Matthias Clasen
2008-07-14 19:31:33 +00:00
parent 7560b45764
commit 3ec443b188
2 changed files with 11 additions and 1 deletions

View File

@@ -91,8 +91,11 @@ gint main (gint argc, gchar * argv[])
if (gerr)
{
g_warning (gerr->message);
/* Keep going if this is just a case of iconv not supporting EUC-JP, see bug 428048 */
if (gerr->code != G_CONVERT_ERROR_NO_CONVERSION)
return 1;
g_error_free (gerr);
return 1;
gerr = NULL;
}
g_io_channel_set_buffer_size (gio_r, BUFFER_SIZE);