Siddhesh Poyarekar
7c33f1e52c
Fix Wundef warning with SHOJI_IS_RIGHT
...
The macro is not defined anywhere, so it looks like we're convinced
that Shoji is wrong :)
2014-07-08 15:02:58 +05:30
Ondřej Bílka
d540fc8a66
Remove unused variable.
2013-11-18 13:12:29 +01:00
Ondřej Bílka
382466e04e
Fix typos.
2013-08-30 18:08:59 +02:00
Joseph Myers
8e254d8e0d
Remove trailing whitespace from localedata.
2013-06-07 14:56:03 +00:00
Roland McGrath
d3bdf19b78
Remove an unused variable in localedata tests.
2011-07-02 16:32:24 -07:00
Ulrich Drepper
f38113e1b9
* tests-mbwc/tst_types.h (TIN)MBRLEN_REC): Use correct array
...
length constant.
2008-12-26 18:59:44 +00:00
Ulrich Drepper
a5ff533ea1
[BZ #6974 ]
...
* sunrpc/rpc_main.c (mkfile_output): Properly handle filename
without dot. Properly terminate the string with a null byte.
Based on a patch by Aurelien Jarno <aurelien@aurel32.net>.
2008-10-31 15:12:51 +00:00
Ulrich Drepper
b2e2aa3739
(tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.
2003-05-05 18:17:05 +00:00
Ulrich Drepper
1cb990bc19
Update.
...
2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
* resolv/res_libc.c: Provide declaration for __res_init_weak and
reorder declarations.
2003-01-03 Art Haas <ahaas@airmail.net>
* localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
initiailzer syntax to C99.
* localedata/tests-mbwc/dat_iswalpha.c: Likewise.
* localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
* localedata/tests-mbwc/dat_iswctype.c: Likewise.
* localedata/tests-mbwc/dat_iswdigit.c: Likewise.
* localedata/tests-mbwc/dat_iswgraph.c: Likewise.
* localedata/tests-mbwc/dat_iswlower.c: Likewise.
* localedata/tests-mbwc/dat_iswprint.c: Likewise.
* localedata/tests-mbwc/dat_iswpunct.c: Likewise.
* localedata/tests-mbwc/dat_iswspace.c: Likewise.
* localedata/tests-mbwc/dat_iswupper.c: Likewise.
* localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
* localedata/tests-mbwc/dat_mblen.c: Likewise.
* localedata/tests-mbwc/dat_mbrlen.c: Likewise.
* localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
* localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbtowc.c: Likewise.
* localedata/tests-mbwc/dat_strcoll.c: Likewise.
* localedata/tests-mbwc/dat_strfmon.c: Likewise.
* localedata/tests-mbwc/dat_strxfrm.c: Likewise.
* localedata/tests-mbwc/dat_swscanf.c: Likewise.
* localedata/tests-mbwc/dat_towctrans.c: Likewise.
* localedata/tests-mbwc/dat_towlower.c: Likewise.
* localedata/tests-mbwc/dat_towupper.c: Likewise.
* localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
* localedata/tests-mbwc/dat_wcscat.c: Likewise.
* localedata/tests-mbwc/dat_wcschr.c: Likewise.
* localedata/tests-mbwc/dat_wcscmp.c: Likewise.
* localedata/tests-mbwc/dat_wcscoll.c: Likewise.
* localedata/tests-mbwc/dat_wcscpy.c: Likewise.
* localedata/tests-mbwc/dat_wcscspn.c: Likewise.
* localedata/tests-mbwc/dat_wcslen.c: Likewise.
* localedata/tests-mbwc/dat_wcsncat.c: Likewise.
* localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
* localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
* localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
* localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
* localedata/tests-mbwc/dat_wcsspn.c: Likewise.
* localedata/tests-mbwc/dat_wcsstr.c: Likewise.
* localedata/tests-mbwc/dat_wcstod.c: Likewise.
* localedata/tests-mbwc/dat_wcstok.c: Likewise.
* localedata/tests-mbwc/dat_wcstombs.c: Likewise.
* localedata/tests-mbwc/dat_wcswidth.c: Likewise.
* localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
* localedata/tests-mbwc/dat_wctob.c: Likewise.
* localedata/tests-mbwc/dat_wctomb.c: Likewise.
* localedata/tests-mbwc/dat_wctrans.c: Likewise.
* localedata/tests-mbwc/dat_wctype.c: Likewise.
* localedata/tests-mbwc/dat_wcwidth.c: Likewise.
2003-01-03 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 22:32:41 +00:00
Ulrich Drepper
6d497bbef7
Update.
...
* libio/tst-freopen.c (main): Use correct formats for __LINE__.
* libio/tst-mmap-setvbuf.c (main): Likewise.
* libio/tst-widetext.c (main): Likewise.
* libio/tst-mmap-eofsync.c (do_test): Use correct format in error
message.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.
2002-08-25 08:44:43 +00:00
Ulrich Drepper
78575a842b
Update.
...
2002-04-14 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to
the end of the function. Pass original flags to recursive call if
add_dependency failed.
(_dl_lookup_versioned_symbol): Likewise.
2002-04-13 Jakub Jelinek <jakub@redhat.com>
* time/mktime.c (__mktime_internal): If year is 69, don't bail out
early, but check whether it overflowed afterwards.
* time/tst-mktime.c (main): Add new tests.
* debug/xtrace.sh: Fix program name in help message.
Patch by Roger Luethi <rl@hellgate.ch>.
2002-04-15 06:37:43 +00:00
Ulrich Drepper
0d01dace55
Update.
...
2002-02-28 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_rtld_global): Remove .protected.
(_rtld_local): Strong alias to _rtld_global.
* elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld
only .os object.
* sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use
_rtld_local instead of _rtld_global.
(_rtld_local): Add hidden extern, possibly in .sdata section.
* configure.in: Add tests for visibility attribute and .sdata.
* config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
* sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/hppa/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/x86_64/dl-machine.h: Likewise.
2002-02-28 22:38:00 +00:00
Ulrich Drepper
e017830580
Update.
...
2001-05-21 Bruno Haible <haible@clisp.cons.org>
* wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
use 0 instead, and rely on the converter to do the flush.
* wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
utf8_test.
(utf8_test_2, utf8_test_3): New function.
(utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2001-05-23 00:08:46 +00:00
Ulrich Drepper
e7f21fa6fb
Update.
...
2001-04-06 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv_open.c: Move strip and upstr definitions...
* iconv/gconv_charset.h: ...here. New file.
* iconv/gconv_db.c (once): Move to file level.
(do_lookup_alias): Split out from __gconv_find_transform.
(__gconv_find_transform): Call do_lookup_alias.
(__gconv_loopup_alias): New function.
* locale/langinfo.h: Define _NL_*_CODESET values for all categories
but LC_CTYPE.
* locale/categories.def: Add entries for new _NL_*_CODESET values.
* locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
* locale/C-address.c: Initialize _NL_*_CODESET element.
* locale/C-collate.c: Likewise.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-time.c: Likewise.
* locale/localeinfo.h: Declare _nl_C_codeset.
* locale/C_name.c: Define _nl_C_codeset.
* locale/findlocale.c: Before accepting locale check that the used
charset does not conflict with what the locale name said.
* locale/programs/ld-address.c: Emit codeset information.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
if the locale data couldn't be found.
* string/Makefile: Define tst-strxfrm-ENV.
* ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2001-04-06 17:49:18 +00:00
Ulrich Drepper
ad5419628d
Update.
...
2000-10-27 Bruno Haible <haible@clisp.cons.org>
* locales/sr_YU@cyrillic: New file. Based on a locale file by
Anton Zinoviev <anton@lml.bas.bg>.
* SUPPORTED: Add sr_YU@cyrillic.
2000-10-27 Bruno Haible <haible@clisp.cons.org>
* locales/ar_SA: Use Unicode aware LC_CTYPE information from "i18n".
* locales/be_BY: Likewise.
* locales/bg_BG: Likewise.
* locales/el_GR: Likewise.
* locales/ja_JP: Likewise.
* locales/ko_KR: Likewise.
* locales/mk_MK: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/zh_CN: Likewise.
* tests-mbwc/dat_iswalnum.c: Update for changed character properties
in the ja_JP.EUC-JP locale.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.
2000-10-27 19:35:07 +00:00
Ulrich Drepper
619166175d
Update.
...
* tests-mbwc/dat_iswctype.c: Full width 9 is not a digit in ja_JP.
* tests-mbwc/dat_iswdigit.c: Likewise.
Add full width digits to alnum class.
2000-10-05 02:53:05 +00:00
Ulrich Drepper
d6040f1781
Update.
...
2000-09-30 Bruno Haible <haible@clisp.cons.org>
* tests-mbwc/tst_wcscmp.c (tst_wcscmp): Take the sign of ret.
* tests-mbwc/dat_wcscmp.c (tst_wcscmp_loc): Don't expect precise
return values. Only the sign matters.
2000-10-01 18:47:09 +00:00
Ulrich Drepper
0b95971d92
Update.
...
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
(__gbk_to_ucs): Conditionalize private area mappings.
(__gbk_from_ucs4_tab9): Likewise.
(BODY for TO_LOOP): Likewise.
* iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
* iconvdata/testdata/GBK..UTF-8: Likewise.
* iconvdata/tst-tables.sh: Enable GBK test.
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
(__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
(BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
array access.
* iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
* iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/johab.c (final_to_ucs): Fix typos.
(jamo_from_ucs_table): Likewise.
(BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
(BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
the range 0xD9E6..0xD9FE.
* iconvdata/tst-tables.sh: Enable JOHAB testing.
2000-09-26 00:05:52 +00:00
Andreas Jaeger
ec7956d922
* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
...
(TST_DECL_VARS): Don't declare err_flg.
(TST_GET_ERRET): Don't set err_flg.
(TST_GET_ERRET_SEQ): Likewise.
(TST_IF_RETURN): Don't use err_flg, check err_exp directly.
* tests-mbwc/dat_swscanf.c: Don't set err_flg.
* tests-mbwc/dat_iswalnum.c: Likewise.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswcntrl.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswdigit.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswlower.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.
* tests-mbwc/dat_iswspace.c: Likewise.
* tests-mbwc/dat_iswupper.c: Likewise.
* tests-mbwc/dat_iswxdigit.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
* tests-mbwc/dat_mbrlen.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* 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/dat_swscanf.c: Likewise.
* tests-mbwc/dat_towctrans.c: Likewise.
* tests-mbwc/dat_towlower.c: Likewise.
* tests-mbwc/dat_towupper.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/dat_wcscat.c: Likewise.
* tests-mbwc/dat_wcschr.c: Likewise.
* tests-mbwc/dat_wcscmp.c: Likewise.
* tests-mbwc/dat_wcscoll.c: Likewise.
* tests-mbwc/dat_wcscpy.c: Likewise.
* tests-mbwc/dat_wcscspn.c: Likewise.
* tests-mbwc/dat_wcslen.c: Likewise.
* tests-mbwc/dat_wcsncat.c: Likewise.
* tests-mbwc/dat_wcsncmp.c: Likewise.
* tests-mbwc/dat_wcsncpy.c: Likewise.
* tests-mbwc/dat_wcspbrk.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcsspn.c: Likewise.
* tests-mbwc/dat_wcsstr.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/dat_wcswidth.c: Likewise.
* tests-mbwc/dat_wcsxfrm.c: Likewise.
* tests-mbwc/dat_wctob.c: Likewise.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/dat_wctrans.c: Likewise.
* tests-mbwc/dat_wctype.c: Likewise.
* tests-mbwc/dat_wcwidth.c: Likewise.
* tests-mbwc/dat_isw-funcs.h: Fix comment.
2000-08-18 Andreas Jaeger <aj@suse.de>
* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
(TST_DECL_VARS): Don't declare err_flg.
(TST_GET_ERRET): Don't set err_flg.
(TST_GET_ERRET_SEQ): Likewise.
(TST_IF_RETURN): Don't use err_flg, check err_exp directly.
* tests-mbwc/dat_swscanf.c: Don't set err_flg.
* tests-mbwc/dat_iswalnum.c: Likewise.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswcntrl.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswdigit.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswlower.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.
* tests-mbwc/dat_iswspace.c: Likewise.
* tests-mbwc/dat_iswupper.c: Likewise.
* tests-mbwc/dat_iswxdigit.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
* tests-mbwc/dat_mbrlen.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* 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/dat_swscanf.c: Likewise.
* tests-mbwc/dat_towctrans.c: Likewise.
* tests-mbwc/dat_towlower.c: Likewise.
* tests-mbwc/dat_towupper.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/dat_wcscat.c: Likewise.
* tests-mbwc/dat_wcschr.c: Likewise.
* tests-mbwc/dat_wcscmp.c: Likewise.
* tests-mbwc/dat_wcscoll.c: Likewise.
* tests-mbwc/dat_wcscpy.c: Likewise.
* tests-mbwc/dat_wcscspn.c: Likewise.
* tests-mbwc/dat_wcslen.c: Likewise.
* tests-mbwc/dat_wcsncat.c: Likewise.
* tests-mbwc/dat_wcsncmp.c: Likewise.
* tests-mbwc/dat_wcsncpy.c: Likewise.
* tests-mbwc/dat_wcspbrk.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcsspn.c: Likewise.
* tests-mbwc/dat_wcsstr.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/dat_wcswidth.c: Likewise.
* tests-mbwc/dat_wcsxfrm.c: Likewise.
* tests-mbwc/dat_wctob.c: Likewise.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/dat_wctrans.c: Likewise.
* tests-mbwc/dat_wctype.c: Likewise.
* tests-mbwc/dat_wcwidth.c: Likewise.
* tests-mbwc/dat_isw-funcs.h: Fix comment.
2000-08-18 09:34:18 +00:00
Andreas Jaeger
3a93e25218
* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
...
should have a value.
2000-08-17 Andreas Jaeger <aj@suse.de>
* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
should have a value.
2000-08-17 15:41:22 +00:00
Ulrich Drepper
c44b54824c
Update.
...
2000-08-02 Ulrich Drepper <drepper@redhat.com>
* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
use `int'.
2000-08-02 17:55:34 +00:00
Ulrich Drepper
5e46339327
Update.
...
2000-07-27 Bruno Haible <haible@clisp.cons.org>
* locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
_NL_CTYPE_MAP_NAMES.
* locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
* wctype/wcfuncs.c (towlower, towupper): Use them.
* wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
* wctype/wctrans.c (wctrans): Likewise.
* wctype/wctrans_l.c (__wctrans_l): Likewise.
2000-07-27 Bruno Haible <haible@clisp.cons.org>
* posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
Use the optimized version of this function outside glibc as well.
2000-07-28 19:52:40 +00:00
Ulrich Drepper
74238b8ee7
Mark U0000 as cntrl and U00A0 not as space.
2000-07-18 20:32:25 +00:00
Ulrich Drepper
89a4f6ff1f
Update.
...
2000-07-07 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locale.c (write_locales): Don't simply add all
directories found in the subdir, test whether at least the
LC_CTYPE file is in there.
2000-07-07 07:12:11 +00:00
Ulrich Drepper
3da67f9970
Update.
...
* stdlib/strfmon.c: Move somewhat closer to the standard wrt to
handling the internation currency symbol. POSIX says that the
fourth character is used to separate the currency symbol from the
value. Therefore it does not have to be printed. But we cannot
remove the space if the currency symbol is printed before the
number since this is what many locales expect.
* localedata/tests-mbwc/dat_strfmon.c: Remove #ifdefs introduced to
work around DEM problem.
* localedata/tst-fmon.data: Change back entries with DEM.
2000-07-01 00:39:39 +00:00
Ulrich Drepper
27ffef477c
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)))):
2000-06-29 23:35:35 +00:00
Andreas Jaeger
5ca8accdcd
Update.
...
(tst_mbrtowc-ENV): New.
(tst_mbsrtowcs-ENV): New.
(tst_mbstowcs-ENV): New.
(tst_strfmon-ENV): New.
(tst_wcrtomb-ENV): New.
(tst_wcsrtombs-ENV): New.
(tst_wcstod-ENV): New.
(tst_wcstok-ENV): New.
(tst_wcstombs-ENV): New.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/tst_wcstok.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/tst_wcstod.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/tst_mbrtowc.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/tst_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/tst_wcstombs.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/tst_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/tst_wcrtomb.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* tests-mbwc/tst_mbstowcs.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/tst_strfmon.c: Likewise.
2000-06-29 10:36:12 +00:00
Andreas Jaeger
ee6c9d77a3
Test files for strfmon.
2000-06-29 08:46:04 +00:00
Andreas Jaeger
2e23c3cc3f
Update.
...
2000-06-29 Andreas Jaeger <aj@suse.de>
* Makefile (locale_test_suite): Add new test files.
(tst_mblen-ENV): New.
(tst_mbtowc-ENV): New.
(tst_strcoll-ENV): New.
(tst_strxfrm-ENV): New.
(tst_wctomb-ENV): New.
* tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com>.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/tst_mbtowc.c: Likewise.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/tst_strxfrm.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/tst_strcoll.c: Likewise.
* tests-mbwc/tst_mblen.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
2000-06-29 07:13:12 +00:00
Andreas Jaeger
4eeccd750d
Tests for mblen.
2000-06-29 06:45:01 +00:00
Ulrich Drepper
f1f1b6b95a
Update.
...
* wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
depending on whether the input string is empty or not.
* wcsmbs/mbrtowc.c: Calling function without input means clearing the
given state and not avoiding this by modifying a local object.
* wcsmbs/wcrtomb.c: Likewise.
* iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
object since some incomplete characters might be in there.
2000-06-28 21:46:28 +00:00
Ulrich Drepper
044ff6223a
Update.
...
2000-06-28 Ulrich Drepper <drepper@redhat.com>
* iconvdata/jis0208.h: Remove redundant test.
2000-06-28 18:04:12 +00:00
Andreas Jaeger
028f8f1899
Update.
...
* tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid
warning.
2000-06-28 13:09:35 +00:00
Andreas Jaeger
16247e11ac
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.
2000-06-28 13:05:23 +00:00
Andreas Jaeger
8c8ade2980
Test files for mbrlen.c.
2000-06-28 12:56:56 +00:00
Andreas Jaeger
93fc3eb7b4
(TST_LOC_de_UTF8): Added.
...
2000-06-28 Andreas Jaeger <aj@suse.de>
* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28 08:24:36 +00:00
Ulrich Drepper
0e16ecfa1e
Update.
...
* locale/programs/ld-ctype.c (ctype_finish): Take all characters from
the input charset into account when generating the hash table.
(allocate_arrays): Correct setting default width. Not all empty slots
in the table are filled, only those not covert explicitly by the
locale description and in the charset.
* stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
wide character version.
For %C handling, test correct pointer variable for NULL.
* wcsmbs/wctob.c: Handle WEOF special.
* wcsmbs/wcwidth.h: 0xff in width array means invalid character.
* wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
always-true test to avoid warning.
2000-06-28 04:27:24 +00:00
Andreas Jaeger
22827fb10b
Add new files to tests and add environment for them.
2000-06-27 15:53:49 +00:00
Andreas Jaeger
5b905722f6
* Makefile (tests): Add tests from tests-mbwc subdirectory,
...
comment them out for now.
(subdir-dirs): New for tests-mbwc, add also vpaths.
* Makefile (tests): Add tests from tests-mbwc subdirectory,
comment them out for now.
(subdir-dirs): New for tests-mbwc, add also vpaths.
2000-06-27 12:14:09 +00:00