Commit b01ee102 authored by Bruno Haible's avatar Bruno Haible

Execute the main loop twice, as intended.

parent 1a5312f7
2008-12-21 Bruno Haible <bruno@clisp.org>
* tests/test-mbsrtowcs.c (main): Execute the loop also for unlimited=1.
2008-12-21 Bruno Haible <bruno@clisp.org>
Update doc for AIX.
......@@ -141,7 +141,7 @@ main (int argc, char *argv[])
ASSERT (buf[1] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
return 0;
break;
case '2':
/* Locale encoding is UTF-8. */
......@@ -187,7 +187,7 @@ main (int argc, char *argv[])
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
return 0;
break;
case '3':
/* Locale encoding is EUC-JP. */
......@@ -240,7 +240,7 @@ main (int argc, char *argv[])
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
return 0;
break;
case '4':
/* Locale encoding is GB18030. */
......@@ -286,7 +286,7 @@ main (int argc, char *argv[])
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
return 0;
break;
default:
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment