svn commit: r312144 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale
Ngie Cooper
ngie at FreeBSD.org
Sat Jan 14 08:39:54 UTC 2017
Author: ngie
Date: Sat Jan 14 08:39:53 2017
New Revision: 312144
URL: https://svnweb.freebsd.org/changeset/base/312144
Log:
Diff reduce with upstream
Modified:
projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale/t_io.c
Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale/t_io.c
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale/t_io.c Sat Jan 14 08:38:21 2017 (r312143)
+++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale/t_io.c Sat Jan 14 08:39:53 2017 (r312144)
@@ -57,7 +57,6 @@ ATF_TC_BODY(bad_big5_wprintf, tc)
atf_tc_skip("does not fail as expected (may be implementation "
"specific issue with the test)");
#endif
-
/* XXX implementation detail knowledge (wchar_t encoding) */
wchar_t ibuf[] = { 0xcf10, 0 };
setlocale(LC_CTYPE, "zh_TW.Big5");
@@ -77,12 +76,10 @@ ATF_TC_BODY(bad_big5_swprintf, tc)
atf_tc_skip("does not fail as expected (may be implementation "
"specific issue with the test)");
#endif
-
/* XXX implementation detail knowledge (wchar_t encoding) */
wchar_t ibuf[] = { 0xcf10, 0 };
wchar_t obuf[20];
setlocale(LC_CTYPE, "zh_TW.Big5");
-
ATF_REQUIRE_ERRNO(EILSEQ,
swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0);
}
More information about the svn-src-projects
mailing list