diff options
Diffstat (limited to 'stdio-common/tst-freopen2-main.c')
-rw-r--r-- | stdio-common/tst-freopen2-main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stdio-common/tst-freopen2-main.c b/stdio-common/tst-freopen2-main.c index 5dad41c76b..74c3125fca 100644 --- a/stdio-common/tst-freopen2-main.c +++ b/stdio-common/tst-freopen2-main.c @@ -386,13 +386,8 @@ do_test (void) fp = xfopen (file2, "w,ccs=iso-8859-1"); ret = fputws (L"\xc0\xc1", fp); TEST_VERIFY (ret >= 0); -#if 0 /* Doesn't work (bug 23675). */ fp = FREOPEN (file1, "r,ccs=utf-8", fp); TEST_VERIFY_EXIT (fp != NULL); -#else /* Works instead. */ - xfclose (fp); - fp = xfopen (file1, "r,ccs=utf-8"); -#endif wc = fgetwc (fp); TEST_COMPARE (wc, (wint_t) 0xc0); wc = fgetwc (fp); |