summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/GNU/table-to.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/GNU/table-to.c b/test/GNU/table-to.c
index e8d11ad..62c30a8 100644
--- a/test/GNU/table-to.c
+++ b/test/GNU/table-to.c
@@ -96,12 +96,14 @@ int main (int argc, char* argv[])
size_t outbytesleft = sizeof(buf);
size_t result;
size_t result2 = 0;
+ if (in == 0xfeff)
+ continue;
iconv(cd,NULL,NULL,NULL,NULL);
result = iconv(cd,(char**)&inbuf,&inbytesleft,&outbuf,&outbytesleft);
if (result != (size_t)(-1))
result2 = iconv(cd,NULL,NULL,&outbuf,&outbytesleft);
if (result == (size_t)(-1) || result2 == (size_t)(-1)) {
- if (errno != EILSEQ && !(errno == EINVAL && in == 0xfeff)) {
+ if (errno != EILSEQ) {
int saved_errno = errno;
fprintf(stderr,"0x%02X: iconv error: ",i);
errno = saved_errno;