diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-29 23:35:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-29 23:35:35 +0000 |
commit | 27ffef477cf5c8a7ee463002db538f5654b9ab4d (patch) | |
tree | 8fc0d9a66f7fa2a16a488d72656221d2b915069b /localedata/tests-mbwc/tst_mbtowc.c | |
parent | e0bd78f584887f59a37cae8bd911fdaf8edcc7ad (diff) | |
download | glibc-27ffef477cf5c8a7ee463002db538f5654b9ab4d.tar glibc-27ffef477cf5c8a7ee463002db538f5654b9ab4d.tar.gz glibc-27ffef477cf5c8a7ee463002db538f5654b9ab4d.tar.bz2 glibc-27ffef477cf5c8a7ee463002db538f5654b9ab4d.zip |
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com>
* tst-fmon.data: Until we know what is correct, but the spaces
after DEM back in.
* tests-mbwc/dat_mbstowcs.c: Fix various bugs. Comment out
unresolved issues.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.
($(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite)))):
Diffstat (limited to 'localedata/tests-mbwc/tst_mbtowc.c')
-rw-r--r-- | localedata/tests-mbwc/tst_mbtowc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/tst_mbtowc.c b/localedata/tests-mbwc/tst_mbtowc.c index c525941f60..7c274f66c1 100644 --- a/localedata/tests-mbwc/tst_mbtowc.c +++ b/localedata/tests-mbwc/tst_mbtowc.c @@ -49,6 +49,10 @@ tst_mbtowc (FILE * fp, int debug_flg) wp = (wchar_t *) ((w_flg == 0) ? NULL : &wc); + /* XXX Clear the internal state. We should probably have + a flag for this. */ + mbtowc (NULL, NULL, 0); + TST_CLEAR_ERRNO; ret = mbtowc (wp, s_in, n); TST_SAVE_ERRNO; |