OpenGrok
Cross Reference: t_wctomb.c
xref
: /
src
/
tests
/
lib
/
libc
/
locale
/
t_wctomb.c
Home
|
History
|
Annotate
|
Download
|
only in
locale
History log of
/src/tests/lib/libc/locale/t_wctomb.c
Revision
Date
Author
Comments
1.5
12-Jul-2017
perseant
Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ .
Also make the tests a bit more verbose, to aid debugging when they fail.
1.4
25-May-2017
perseant
branches: 1.4.2;
Add a member to the test data structure that indicates whether the given
encoding is state-dependent, and test the results of wctomb(NULL, '\0') and
mbtowc(NULL, NULL, 0) against this instead of against each other.
1.3
25-Mar-2013
gson
Don't size an array using MB_CUR_MAX while one locale is in effect and
then use it with another locale having a larger MB_CUR_MAX. This
should fix the t_wctomb:wcrtomb_state test failures seen on i386.
1.2
11-Jun-2011
christos
branches: 1.2.2; 1.2.8;
Turn warns on for all tests and fix all the bugs.
1.1
09-Apr-2011
pgoyette
branches: 1.1.2;
atf-ify the various locale tests
1.1.2.1
23-Jun-2011
cherry
Catchup with rmind-uvmplock merge.
1.2.8.1
23-Jun-2013
tls
resync from head
1.2.2.1
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.4.2.1
15-Mar-2018
martin
Pull up following revision(s) (requested by maya in ticket #608):
tests/lib/libc/locale/t_sprintf.c: revision 1.3
tests/lib/libc/locale/t_wctomb.c: revision 1.5
tests/lib/libc/locale/t_io.c: revision 1.5
tests/lib/libc/locale/t_wcstod.c: revision 1.4
tests/lib/libc/locale/t_mbstowcs.c: revision 1.2
tests/lib/libc/locale/t_wctype.c: revision 1.2
tests/lib/libc/locale/t_mbrtowc.c: revision 1.2
tests/lib/libc/locale/t_btowc.c: revision 1.2
tests/lib/libc/locale/t_btowc.c: revision 1.3
Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ .
Also make the tests a bit more verbose, to aid debugging when they fail.
Separate the C/POSIX locale test from the rest; make it more thorough
and more correct. This fixes a problem reported by martin@ when the
test is compiled with -funsigned-char.
Indexes created Fri Oct 17 17:09:57 GMT 2025