Ulrich Drepper
f7b74fc0fb
Explicitly add control character in U0000-U001F and U007F-U009F range for backward compatibility.
2000-06-28 17:13:42 +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
Ulrich Drepper
2803faf059
Correct problems found by test suite.
2000-06-28 09:19:30 +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
Ulrich Drepper
1539660873
Update.
...
* locales/i18n: Backspace isn't blank, tab is.
* tst-ctype.c (main): Add tests for control characters and space.
2000-06-27 18:09:54 +00:00
Ulrich Drepper
c3e32a9697
Update.
...
* locales/i18n: Backspace is no space.
2000-06-27 17:49:19 +00:00
Ulrich Drepper
9d893da15c
Update.
...
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* locales/i18n: Add \t to space.
2000-06-27 17:44:09 +00:00
Ulrich Drepper
6676b2d55a
Add \t to space.
2000-06-27 17:42:22 +00:00
Andreas Jaeger
86af091087
Update.
...
2000-06-27 Andreas Jaeger <aj@suse.de>
* Makefile (TEST_MBWC_ENV): New variable.
Use it for all tests from tests-mbwc.
2000-06-27 17:38:25 +00:00
Andreas Jaeger
eed5831091
* Makefile (TEST_MBWC_ENV): New variable.
...
Use it for all tests from tests-mbwc.
2000-06-27 17:37:42 +00:00
Ulrich Drepper
132781f936
Update.
...
2000-06-27 Ulrich Drepper <drepper@redhat.com>
* tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
2000-06-27 17:12:56 +00:00
Ulrich Drepper
0135d02d05
Generate ja_JP.EUC-JP locale and test it.
2000-06-27 17:10:47 +00:00
Andreas Jaeger
36e3c1195f
Makefile: Add environment setting for all tests from tests-mbwc.
...
2000-06-27 Andreas Jaeger <aj@suse.de>
* Makefile: Add environment setting for all tests from tests-mbwc.
2000-06-27 16:35:42 +00:00
Ulrich Drepper
1cf98aaef9
Update.
...
2000-06-27 Jakub Jelinek <jakub@redhat.com>
* libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
not obstack_blank.
2000-06-27 16:33:48 +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
cb6815da36
Update.
...
* tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara
<kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
2000-06-27 12:25:46 +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
Andreas Jaeger
756bb30555
Add missing / in LC_CTYPE.
...
2000-06-27 Andreas Jaeger <aj@suse.de>
* locales/ja_JP: Add missing / in LC_CTYPE.
2000-06-27 08:18:25 +00:00
Ulrich Drepper
1cfa7b8231
Not needed.
2000-06-27 08:00:21 +00:00
Ulrich Drepper
1a3eefef69
Update.
...
* Makefile (distribute): Add tst-ctype-de_DE.in.
2000-06-27 04:01:28 +00:00
Ulrich Drepper
4edc30e4d7
Update.
...
* tst-ctype.c: Read in more tests from stdin.
* tst-ctype.sh: Feed extra test data to program via stdin.
* tst-ctype-de_DE.in: New file.
* locales/i18n (punct): Exclude U00A0.
(blank): Include U00A0.
* locales/ja_JP: Updates for new format.
* Makefile (test-srcs): Add tst-ctype.
(distribute): Add tst-ctype.sh.
(do-tst-ctype): New target. Run for tests.
* tst-ctype.c: New file.
* tst-ctype.sh: New file.
2000-06-27 03:59:26 +00:00
Ulrich Drepper
6ba025af69
More test data for tst-ctype test program.
2000-06-27 03:56:55 +00:00
Ulrich Drepper
9bbc1eccb7
Updates for new format.
2000-06-27 01:05:19 +00:00
Ulrich Drepper
465e7bebc3
(test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): New target. Run for tests.
2000-06-27 01:03:13 +00:00
Ulrich Drepper
f21c71e19e
Update.
...
* locales/i18n: NUL character must not be in cntrl.
2000-06-26 23:38:07 +00:00
Ulrich Drepper
1257f6bd24
NUL character must not be in cntrl.
2000-06-26 23:37:53 +00:00
Ulrich Drepper
c2eee429d3
Update.
...
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* Makefile (test-input): Add en_US.ISO-8859-1.
* en_US.in: New file.
2000-06-26 20:07:09 +00:00
Ulrich Drepper
c000cdad1a
Update.
...
2000-06-26 Ulrich Drepper <drepper@redhat.com>
* rt/Makefile (librt-routines): Add clock_nanosleep.
* rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
* sysdeps/generic/clock_nanosleep.c: New file.
* sysdeps/unix/clock_nanosleep.c: New file.
* sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
* time/time.h: Declare clock_nanosleep.
2000-06-26 18:12:12 +00:00
Ulrich Drepper
7475d01602
Update.
...
2000-06-25 Greg McGary <greg@mcgary.org>
* sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
not as bcopy.
2000-06-26 00:38:37 +00:00
Ulrich Drepper
8b682b9907
Update.
...
* iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
* iconvdata/gen-8bit-gap.sh: Likewise.
* iconvdata/gen-8bit.sh: Likewise.
* iconv/gconv_open.c (__gconv_open): Move comment to correct position.
* locale/programs/ld-collate.c (collate_read): Don't actually read
the copy locale if we are ignoring the content.
* sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
Jens Moeller <jens.moeller@waii.com>.
2000-06-26 00:26:21 +00:00
Ulrich Drepper
7508aab40a
Update-
...
* locales/i18n: Take CJK ideographs and Hangul out of `alpha' table.
2000-06-25 18:23:21 +00:00
Ulrich Drepper
07dab0c385
Update.
...
2000-06-25 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-collate.c: Correct handling of different
collation sections.
* locale/programs/localedef.c (add_to_readlist): Take locale pointer
as extra parameter from which to copy category information.
Change all callers.
(load_locale): Likewise.
* locale/programs/localedef.h: Update prototypes of add_to_readlist
and load_locale.
* locale/programs/ld-ctype.c: Update call to add_to_readlist.
* locale/programs/locfile.h: Likewise.
* locale/programs/locfile-kw.gperf: Add entry for script.
* locale/programs/locfile-token.h: Add tok_script.
* locale/programs/locale.c: Update copyright year.
* locale/programs/localedef.c: Likewise.
* xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from Jens
2000-06-25 18:14:28 +00:00
Ulrich Drepper
0ea5f1b861
Update.
...
(iso3166): Likewise.
2000-06-24 19:12:38 +00:00
Ulrich Drepper
ae1aff7709
Update.
...
* locale/programs/ld-name.c (name_finish): Add missing format
specifier to test for name_fmt.
2000-06-24 18:53:49 +00:00
Ulrich Drepper
64f022a4b9
Update.
...
2000-06-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2000-06-24 07:08:49 +00:00
Ulrich Drepper
a3e1b831ea
Update.
...
2000-06-23 Ulrich Drepper <drepper@redhat.com>
* charmaps/ANSI_X3.110-1983: Update to use <Uxxxx> format.
* charmaps/ANSI_X3.4-1968: Likewise.
* charmaps/ASMO_449: Likewise.
* charmaps/BALTIC: Likewise.
* charmaps/BS_4730: Likewise.
* charmaps/BS_VIEWDATA: Likewise.
* charmaps/CP1250: Likewise.
* charmaps/CP1251: Likewise.
* charmaps/CP1252: Likewise.
* charmaps/CP1253: Likewise.
* charmaps/CP1254: Likewise.
* charmaps/CP1255: Likewise.
* charmaps/CP1256: Likewise.
* charmaps/CP1257: Likewise.
* charmaps/CP1258: Likewise.
* charmaps/CSA_Z243.4-1985-1: Likewise.
* charmaps/CSA_Z243.4-1985-2: Likewise.
* charmaps/CSA_Z243.4-1985-GR: Likewise.
* charmaps/CSN_369103: Likewise.
* charmaps/CWI: Likewise.
* charmaps/DEC-MCS: Likewise.
* charmaps/DIN_66003: Likewise.
* charmaps/DS_2089: Likewise.
* charmaps/EBCDIC-AT-DE: Likewise.
* charmaps/EBCDIC-AT-DE-A: Likewise.
* charmaps/EBCDIC-CA-FR: Likewise.
* charmaps/EBCDIC-DK-NO: Likewise.
* charmaps/EBCDIC-DK-NO-A: Likewise.
* charmaps/EBCDIC-ES: Likewise.
* charmaps/EBCDIC-ES-A: Likewise.
* charmaps/EBCDIC-ES-S: Likewise.
* charmaps/EBCDIC-FI-SE: Likewise.
* charmaps/EBCDIC-FI-SE-A: Likewise.
* charmaps/EBCDIC-FR: Likewise.
* charmaps/EBCDIC-IS-FRISS: Likewise.
* charmaps/EBCDIC-IT: Likewise.
* charmaps/EBCDIC-PT: Likewise.
* charmaps/EBCDIC-UK: Likewise.
* charmaps/EBCDIC-US: Likewise.
* charmaps/ECMA-CYRILLIC: Likewise.
* charmaps/ES: Likewise.
* charmaps/ES2: Likewise.
* charmaps/EUC-JP: Likewise.
* charmaps/EUC-KR: Likewise.
* charmaps/GB2312: Likewise.
* charmaps/GBK: Likewise.
* charmaps/GB_1988-80: Likewise.
* charmaps/GOST_19768-74: Likewise.
* charmaps/GREEK-CCITT: Likewise.
* charmaps/GREEK7: Likewise.
* charmaps/GREEK7-OLD: Likewise.
* charmaps/HP-ROMAN8: Likewise.
* charmaps/IBM037: Likewise.
* charmaps/IBM038: Likewise.
* charmaps/IBM1004: Likewise.
* charmaps/IBM1026: Likewise.
* charmaps/IBM1047: Likewise.
* charmaps/IBM256: Likewise.
* charmaps/IBM273: Likewise.
* charmaps/IBM274: Likewise.
* charmaps/IBM275: Likewise.
* charmaps/IBM277: Likewise.
* charmaps/IBM278: Likewise.
* charmaps/IBM280: Likewise.
* charmaps/IBM281: Likewise.
* charmaps/IBM284: Likewise.
* charmaps/IBM285: Likewise.
* charmaps/IBM290: Likewise.
* charmaps/IBM297: Likewise.
* charmaps/IBM420: Likewise.
* charmaps/IBM423: Likewise.
* charmaps/IBM424: Likewise.
* charmaps/IBM437: Likewise.
* charmaps/IBM500: Likewise.
* charmaps/IBM850: Likewise.
* charmaps/IBM851: Likewise.
* charmaps/IBM852: Likewise.
* charmaps/IBM855: Likewise.
* charmaps/IBM857: Likewise.
* charmaps/IBM860: Likewise.
* charmaps/IBM861: Likewise.
* charmaps/IBM862: Likewise.
* charmaps/IBM863: Likewise.
* charmaps/IBM864: Likewise.
* charmaps/IBM865: Likewise.
* charmaps/IBM866: Likewise.
* charmaps/IBM868: Likewise.
* charmaps/IBM869: Likewise.
* charmaps/IBM870: Likewise.
* charmaps/IBM871: Likewise.
* charmaps/IBM874: Likewise.
* charmaps/IBM875: Likewise.
* charmaps/IBM880: Likewise.
* charmaps/IBM891: Likewise.
* charmaps/IBM903: Likewise.
* charmaps/IBM904: Likewise.
* charmaps/IBM905: Likewise.
* charmaps/IBM918: Likewise.
* charmaps/IEC_P27-1: Likewise.
* charmaps/INIS: Likewise.
* charmaps/INIS-CYRILLIC: Likewise.
* charmaps/INVARIANT: Likewise.
* charmaps/ISIRI-3342: Likewise.
* charmaps/ISO-8859-1: Likewise.
* charmaps/ISO-8859-10: Likewise.
* charmaps/ISO-8859-13: Likewise.
* charmaps/ISO-8859-14: Likewise.
* charmaps/ISO-8859-15: Likewise.
* charmaps/ISO-8859-16: Likewise.
* charmaps/ISO-8859-2: Likewise.
* charmaps/ISO-8859-3: Likewise.
* charmaps/ISO-8859-4: Likewise.
* charmaps/ISO-8859-5: Likewise.
* charmaps/ISO-8859-6: Likewise.
* charmaps/ISO-8859-7: Likewise.
* charmaps/ISO-8859-8: Likewise.
* charmaps/ISO-8859-9: Likewise.
* charmaps/ISO-IR-197: Likewise.
* charmaps/ISO-IR-90: Likewise.
* charmaps/ISO_10367-BOX: Likewise.
* charmaps/ISO_5427: Likewise.
* charmaps/ISO_5428: Likewise.
* charmaps/ISO_646.BASIC: Likewise.
* charmaps/ISO_646.IRV: Likewise.
* charmaps/ISO_6937: Likewise.
* charmaps/ISO_6937-2-25: Likewise.
* charmaps/ISO_6937-2-ADD: Likewise.
* charmaps/ISO_8859-SUPP: Likewise.
* charmaps/IT: Likewise.
* charmaps/JIS_C6220-1969-RO: Likewise.
* charmaps/JIS_C6229-1984-B: Likewise.
* charmaps/JIS_X0201: Likewise.
* charmaps/JUS_I.B1.002: Likewise.
* charmaps/JUS_I.B1.003-MAC: Likewise.
* charmaps/JUS_I.B1.003-SERB: Likewise.
* charmaps/KOI-8: Likewise.
* charmaps/KOI8-R: Likewise.
* charmaps/KOI8-U: Likewise.
* charmaps/KSC5636: Likewise.
* charmaps/KSX1001: Likewise.
* charmaps/LATIN-GREEK: Likewise.
* charmaps/LATIN-GREEK-1: Likewise.
* charmaps/MAC-IS: Likewise.
* charmaps/MAC-UK: Likewise.
* charmaps/MACINTOSH: Likewise.
* charmaps/MSZ_7795.3: Likewise.
* charmaps/NATS-DANO: Likewise.
* charmaps/NATS-SEFI: Likewise.
* charmaps/NC_NC00-10: Likewise.
* charmaps/NEXTSTEP: Likewise.
* charmaps/NF_Z_62-010: Likewise.
* charmaps/NF_Z_62-010_1973: Likewise.
* charmaps/NS_4551-1: Likewise.
* charmaps/NS_4551-2: Likewise.
* charmaps/PT: Likewise.
* charmaps/PT2: Likewise.
* charmaps/SAMI: Likewise.
* charmaps/SAMI-WS2: Likewise.
* charmaps/SEN_850200_B: Likewise.
* charmaps/SEN_850200_C: Likewise.
* charmaps/T.101-G2: Likewise.
* charmaps/T.61-7BIT: Likewise.
* charmaps/T.61-8BIT: Likewise.
* charmaps/TIS-620: Likewise.
* charmaps/UTF8: Likewise.
* charmaps/VIDEOTEX-SUPPL: Likewise.
2000-06-24 05:29:29 +00:00
Ulrich Drepper
387be08759
Update.
...
2000-06-21 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2000-06-21 18:01:49 +00:00
Ulrich Drepper
4969a60fd8
Full weekday and month names begin with lower-case characters.
2000-06-21 17:45:45 +00:00
Andreas Jaeger
3e1f480ef8
* tst-trans.c: Include <stdlib.h> and <string.h>.
...
2000-06-21 Andreas Jaeger <aj@suse.de>
* tst-trans.c: Include <stdlib.h> and <string.h>.
2000-06-21 12:39:22 +00:00
Ulrich Drepper
ba80a015ee
Update.
...
* malloc/Makefile: Change all references to memprof into memusage.
* malloc/memprof.c: Rename to...
* malloc/memusage.c: ...this. New file.
* malloc/memprof.sh: Rename to...
* malloc/memusage.sh: ...this. New file.
* malloc/memprofstat.c: Rename to...
* malloc/memusagestat.c: ...this. New file.
2000-06-20 04:46:22 +00:00
Ulrich Drepper
d620426811
Update.
...
2000-06-19 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv.h (__gconv_trans_fct): Add new parameter.
General namespace cleanup.
(struct __gconv_trans_data): Add next field.
(struct __gconv_step_data): Make __trans a pointer.
* iconv/gconv_conf.c: Split out code to find gconv directories from
__gconv_read_conf in new functions.
* iconv/gconv_int.h: Define new data structure and declare new
functions for handling of gconv directory list.
* iconv/gconv_open.c: Allow more than one error handling step being
used. Call function to load error handling module if it is none
of the builtin transformations.
* iconv/gconv_close.c: Add code to free transliteration data.
* iconv/gconv_trans.c: Add functions to load and unload modules
implementing transliteration etc.
* iconv/skeleton.c: Call all context functions now that more than
one module is allowed.
* iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
* iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
where the full error handling using transliteration is needed.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/big5hkscs.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-tw.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* libio/iofwide.c: Reset __trans member of __gconv_trans_data
structure correctly after last change.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
* localedata/Makefile: Set -Wno-format for some files since gcc does
not know all the format specifiers.
2000-06-18 Ulrich Drepper <drepper@redhat.com>
* locale/loadlocale.c (_nl_unload_locale): Remove a bit of
unneeded code.
* locale/lc-time.c (_nl_init_era_entries): Likewise.
2000-06-19 21:12:06 +00:00
Ulrich Drepper
498b733ef0
Update.
...
* locale/programs/ld-ctype.c (ctype_output): Really write out
mboutdigits information.
* localedata/tst-trans.c: Add code to test printf's I flag with locale.
* localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
* localedata/tests/trans.def: Add outdigit information.
* localedata/tst-mbswcs3.c: Remove comment.
2000-06-18 00:23:52 +00:00
Ulrich Drepper
1d96d74da7
Update.
...
* locale/langinfo.h: Add entries for default_missing information.
* locale/C-ctype.c: Add initializers for new fields.
* iconv/gconv_trans.c: If nothing matched, try to use default_missing
information.
* locale/categories.h: Add entries for all LC_CTYPE values.
* locale/programs/ld-ctype.c (ctype_output): Write out default_missing
information.
* localedata/tst-trans.c: Write out an error message if class is
not found.
2000-06-17 03:08:26 +00:00
Ulrich Drepper
1bfae4012a
Update.
...
* malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2000-06-14 04:06:42 +00:00
Ulrich Drepper
4646232601
Update.
...
* crypt/Makefile (distribute): Add md5.h.
2000-06-14 03:48:09 +00:00
Ulrich Drepper
cf2964e2b7
Update.
...
* Makefile (distribute): Add include/shlib-compat.h.
2000-06-14 03:46:36 +00:00
Ulrich Drepper
002ab03434
Update.
...
* Make-dist: Search for tests also in sysdeps hierachy.
2000-06-14 01:01:44 +00:00