Date: Sat, 14 Jan 2017 08:39:53 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r312144 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/locale Message-ID: <201701140839.v0E8drp9056004@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701140839.v0E8drp9056004>