diff options
author | Andreas Jaeger <aj@suse.de> | 2000-06-28 13:05:23 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-06-28 13:05:23 +0000 |
commit | 16247e11acec6d28efdb6e687de5888984c0e3ef (patch) | |
tree | 6c2f376f5c898c02b379c97f367496a49d551c81 /localedata/tests-mbwc/tst_wcsstr.c | |
parent | 8c8ade2980f8fd0632fe2a9b2b7f1307bc12713d (diff) | |
download | glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.tar glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.tar.gz glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.tar.bz2 glibc-16247e11acec6d28efdb6e687de5888984c0e3ef.zip |
Update.
* Makefile (locale_test_suite): Add tst_mbrlen.
(tst_mbrlen-ENV): New.
* tests-mbwc/tst_mbrlen.c: New file
* tests-mbwc/dat_mbrlen.c: New file.
* tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const
char*.
(struct TST_HEAD): Use const char* instead of an array.
* tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE.
* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8.
* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
Diffstat (limited to 'localedata/tests-mbwc/tst_wcsstr.c')
-rw-r--r-- | localedata/tests-mbwc/tst_wcsstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localedata/tests-mbwc/tst_wcsstr.c b/localedata/tests-mbwc/tst_wcsstr.c index 15654df0a9..20ebecfafc 100644 --- a/localedata/tests-mbwc/tst_wcsstr.c +++ b/localedata/tests-mbwc/tst_wcsstr.c @@ -54,7 +54,7 @@ tst_wcsstr (FILE * fp, int debug_flg) continue; } - for (i = 0, err = 0; *(ws2 + i) != 0 && i < MBSSIZE; i++) + for (i = 0, err = 0; *(ws2 + i) != 0 && i < WCSSIZE; i++) { if (debug_flg) { |