Commit Graph

616 Commits

Author SHA1 Message Date
Ulrich Drepper
c7c3b0e907 Update.
2000-08-29  Akira Higuchi  <a@kondara.org>

	* iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
	and __end_fct fields of struct __gconv_step.
	* iconv/Makefile (tests): Add iconv-bug2.
	* iconv/iconv-bug2.c: New file.

	* iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
	instead of 'inptr - inend' to ksc5601_to_ucs4.

	* iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.

	* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
	character or shift sequence is found at the end of the input
	string, return__GCONV_INCOMPLETE_INPUT instead of
	__GCONV_EMPTY_INPUT.
	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
	* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.

	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
	__GCONV_ILLEGAL_INPUT for 8bit characters.
2000-08-29 21:14:05 +00:00
Ulrich Drepper
30f1226b0b Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
	names don't match don't return.
	Patch by Olaf Kirch <okir@flash.lst.de>.
2000-08-29 18:12:01 +00:00
Ulrich Drepper
cf365734e5 Mention broken LC_COLLATE specification. 2000-08-28 04:08:02 +00:00
Ulrich Drepper
3d4ac1ec92 Update.
* locale/programs/ld-collate.c (insert_weights): Also update
	backpointer of next element.
	(collate_read): Allow definition of new collation symbols in stage 2.
	Symbol after reorder-after can be UCS4 value.
	Allow reordering of collation symbols and elements.
	Do not only move reorder entry in new position.  Instead call
	insert_weight to do this and read the weights.
2000-08-28 03:51:40 +00:00
Ulrich Drepper
36466e64f0 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
	irreversible in recursive call of conversion function to signal that
	no error handling is wanted.
	* iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
	(STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
	* iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
	recursive error handling call, otherwise to &lirreversible.  Use it
	for calls to conversion functions.
	* iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
	transliterating.
	(ucs4_internal_loop_unaligned): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
2000-08-25 22:25:03 +00:00
Ulrich Drepper
b572c2da31 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* locales/i18n (default_missing): Change back to only U003F.
2000-08-25 22:13:09 +00:00
Andreas Jaeger
3b526f89b5 Update.
Move inclusion of test-skeleton to front to have prototype for
	add_temp_file.
2000-08-24 09:30:58 +00:00
Andreas Jaeger
3d61cc0988 (generated): Add some .out files. 2000-08-24 08:57:04 +00:00
Ulrich Drepper
4b156cb2fd Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c (ctype_read): Allow more than one
	default_missing character being specified, pick the first
	representable.
2000-08-23 08:25:46 +00:00
Ulrich Drepper
dc63ee3575 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-4217.def: Update entry for Nicaragua.
2000-08-23 04:04:02 +00:00
Ulrich Drepper
75c5884bb1 Update.
* locales/es_MX: Correct int_curr_symbol.
	* locales/es_PE: Likewise.
2000-08-23 03:47:08 +00:00
Ulrich Drepper
e1b6d83296 Update.
* SUPPORTED: Add missing supported locales.

	* locales/fa_IR: Correct a few of the contained bugs.

	* locales/en_CA,2.5: Removed.
	* locales/fr_CA,2.13: Removed.
	* locales/in_ID: Removed.
2000-08-23 02:59:03 +00:00
Ulrich Drepper
52e2725348 Update.
* locales/zh_HK: New file.

	* charmaps/BIG5HKSCS: New file.
2000-08-23 02:38:11 +00:00
Ulrich Drepper
f02211e812 Chinese language locale for Hong Kong. 2000-08-23 02:36:34 +00:00
Ulrich Drepper
8859f57623 Update.
2000-08-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
	(__syscall__sysctl): Add.
2000-08-22 09:10:20 +00:00
Ulrich Drepper
2e125f1fb8 Update.
* locales/vi_VN: New file.
	* SUPPORTED: Add vi_VN.UTF-8.
2000-08-22 08:49:56 +00:00
Ulrich Drepper
aa6eb4de69 Update.
* locales/ko_KR: Correct currency_symbol entry.

	* locales/hi_IN: New file.
	* SUPPORTED: Add hi_IN.UTF-8.
2000-08-22 08:32:32 +00:00
Ulrich Drepper
081e43f28b Update.
* Makefile (test-input): Add da_DK and hr_HR sorting tests.

	* sort-test.sh: Improve error handling by printing more information.
2000-08-22 08:00:17 +00:00
Ulrich Drepper
a9397b8649 Improve error handling by printing more information. 2000-08-22 07:53:41 +00:00
Ulrich Drepper
dd492f9bb5 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* locales/ar_AE: New file.
	* locales/ar_BH: New file.
	* locales/ar_DZ: New file.
	* locales/ar_EG: New file.
	* locales/ar_IQ: New file.
	* locales/ar_JO: New file.
	* locales/ar_KW: New file.
	* locales/ar_LB: New file.
	* locales/ar_LY: New file.
	* locales/ar_MA: New file.
	* locales/ar_OM: New file.
	* locales/ar_QA: New file.
	* locales/ar_SD: New file.
	* locales/ar_SY: New file.
	* locales/ar_TN: New file.
	* locales/ar_YE: New file.
	* SUPPORTED: Add Arabic locales.

	* locales/es_CR: New file.
	* locales/es_NI: New file.
	* locales/es_PR: New file.
2000-08-22 07:24:46 +00:00
Ulrich Drepper
0322fb43f7 Arabic language locale for United Arab Emirates. 2000-08-22 07:18:22 +00:00
Ulrich Drepper
bf025fc19f Spanish langauge locale for Puerto Rico. 2000-08-22 04:25:58 +00:00
Ulrich Drepper
faa5756314 Update.
* stdlib/random_r.c (__setstate_r): Also compute end_ptr
	correctly.
	(__initstate_r): Set errno on error.
	(__random_r): Likewise.
	(__setstate_r): Correct offset when computing
	new rptr and fptr.  Test for arg_state being NULL.
	Reported by Michael Fischer <fischer@cs.yale.edu>.
2000-08-22 03:49:38 +00:00
Ulrich Drepper
959eb65d0d Update.
2000-08-21  Marko Myllynen  <myllynen@lut.fi>

	* inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2000-08-21 19:15:14 +00:00
Ulrich Drepper
9ca00c5b8e Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* intl/locale.alias: Add aliases for Korean.
2000-08-21 18:36:45 +00:00
Ulrich Drepper
c6ef677f0a German language locale for Belgium with Euro. 2000-08-21 17:59:31 +00:00
Ulrich Drepper
53d440bf95 Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (install-locales): Handle option in locale name.  Print
	progress information.

	* SUPPORTED: Add all the @euro locales.

	* locales/ca_ES@euro: Update charset comment.
	* locales/de_AT@euro: New file.
	* locales/de_DE@euro: New file.
	* locales/de_LU@euro: New file.
	* locales/en_IE@euro: New file.
	* locales/es_ES@euro: New file.
	* locales/fi_FI@euro: New file.
	* locales/fr_BE@euro: New file.
	* locales/fr_FR@euro: New file.
	* locales/fr_LU@euro: New file.
	* locales/it_IT@euro: New file.
	* locales/nl_NL@euro: New file.
	* locales/pt_PT@euro: New file.
2000-08-21 17:08:58 +00:00
Ulrich Drepper
245ee9b09f Update charset comment. 2000-08-21 17:07:41 +00:00
Ulrich Drepper
019523a640 Add all the @euro locales. 2000-08-21 17:07:11 +00:00
Ulrich Drepper
246a9a195f (install-locales): Handle option in locale name. Print progress information. 2000-08-21 17:06:55 +00:00
Ulrich Drepper
fbe57a0939 Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* locales/ca_ES: Correct comment.

	* locales/ca_ES@euro: New file.
	* locales/de_AT@euro: New file.
	* locales/de_DE@euro: New file.
	* locales/de_LU@euro: New file.
	* locales/en_IE@euro: New file.
	* locales/es_ES@euro: New file.
	* locales/fi_FI@euro: New file.
	* locales/fr_BE@euro: New file.
	* locales/fr_FR@euro: New file.
	* locales/fr_LU@euro: New file.
	* locales/it_IT@euro: New file.
	* locales/nl_NL@euro: New file.
	* locales/pt_PT@euro: New file.
2000-08-21 08:24:10 +00:00
Andreas Jaeger
03ae3c1ec2 Update.
* inet/tst-gethnm.c: Include string.h to provide prototype for
	strcmp.
2000-08-19 18:06:27 +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
07a3d63e52 Update.
2000-08-15  Ulrich Drepper  <drepper@redhat.com>

	* elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
	free wd.
	* elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
	there is already one.

	* elf/dl-close.c: Pretty print.
2000-08-15 07:06:23 +00:00
Ulrich Drepper
b8fd550293 Update.
* sysdeps/posix/ttyname.c: Make name variable from getttyname function
	global (with file scope).  Add __libc_subfreeres function to free the
	string.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
	in ttyname function.

	* sysdeps/generic/strtok.c: Remove initializer for olds variable.

	* crypt/md5-crypt.c: Let destructor deallocate static buffer.

	* iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
	mapping them to /x5c and /x7e respectively.
2000-08-15 06:12:25 +00:00
Ulrich Drepper
8a82cc3024 Update.
* locale/programs/localedef.c: Implement --prefix option to allow
	writing in standard places of alternative install directories.
2000-08-13 07:01:35 +00:00
Ulrich Drepper
139a4d957a Update.
2000-08-03  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/big5.c: Updated.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2000-08-03 07:29:27 +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
Andreas Jaeger
8a958cd23f * Makefile (distribute): Follow name change of tst-ctype-de.in to
tst-ctype-de_DE.ISO-8859-1.in.
2000-08-01  Andreas Jaeger  <aj@suse.de>

	* Makefile (distribute): Follow name change of tst-ctype-de.in to
	tst-ctype-de_DE.ISO-8859-1.in.
2000-08-01 09:29:48 +00:00
Ulrich Drepper
b669ab02b7 Update.
2000-07-31  Andreas Jaeger  <aj@suse.de>

	* inet/Versions: Remove getipnodebyaddr and friends from
	GLIBC_2.2.

	* resolv/netdb.h: Remove getipnodebyaddr and friends.
2000-07-31 23:14:10 +00:00
Ulrich Drepper
a9706118e0 Update.
2000-07-29  Ulrich Drepper  <drepper@redhat.com>

	* locale/langinfo.h: Add entries for extra tables in CTYPE data.
	* locale/programs/ld-ctype.c: Adjust for this.

	* locale/programs/ld-collate.c: Add more alignment checks.
	* locale/string/strcoll.c: Likewise.

2000-07-30  Mark Kettenis  <kettenis@gnu.org>

	* stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
	outside USE_IN_LIBIO block.
2000-07-30 00:00:23 +00:00
Ulrich Drepper
fb032fbd88 Update.
2000-07-26  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
	(elf_machine_rel): Use it for out-of-range PC24 relocs.
2000-07-29 19:36:10 +00:00
Ulrich Drepper
497b8ef43f Update.
2000-07-28  Philip Blundell  <philb@gnu.org>

	* math/test-fpucw.c: Ignore reserved bits in control word.

2000-07-28  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
	(ret): Redefine to PSEUDO_RET.
	(PSEUDO): Remove jump to syscall_error.

2000-07-29  Mark Kettenis  <kettenis@gnu.org>

	* resolv/README: Add some information about using the resolver in
	multi-threaded code and with C++.  Spelling fixes.

2000-07-29  Mark Kettenis  <kettenis@gnu.org>

	* resolv/resolv.h (struct __sockaddr_in): Remove.
	(struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.

	* sysdeps/powerpc/backtrace.c (struct layout): Make pointers
	__unbounded.
2000-07-29 18:08:15 +00:00
Ulrich Drepper
2da345643a Add tests for wprintf. 2000-07-29 17:51:25 +00:00
Ulrich Drepper
c1d835ced9 Update.
* stdio-common/Makefile (routines): Remove _i18n_itoa and
	_i18n_itowa.
2000-07-29 07:25:43 +00:00
Ulrich Drepper
69c69fe11d Update.
2000-07-28  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/_i18n_itoa.c: Removed.
	* stdio-common/_i18n_itoa.h: Removed.
	* stdio-common/_i18n_itowa.c: Removed.
	* stdio-common/_i18n_itowa.h: Removed.
	* stdio-common/_i18n_number.h: New file.
	* stdio-common/Depend: New file.
	* stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
	* stdio-common/vfprintf.c: Rewrite buffer handling for integer
	printing.  Change printing of numbers with locale specific digits to
	use new code in _i18n_number.h.

	* stdio-common/bug13.c: Improve messages.

	* locale/programs/ld-ctype.c (ctype_read): Improve error message.
	(set_class_defaults): Always search also for Uxxxx names.
	Detect insufficient number of outdigits.

	* locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2000-07-29 06:45:51 +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
eac4282fa6 Update.
2000-07-27  Jakub Jelinek  <jakub@redhat.com>

	* locale/indigits.h (indigit_value): Correct.
	* locale/indigitswc.h (indigitwc_value): Correct.
	* stdio-common/vfscanf.c (__vfscanf): Fix I18N number
	conversion, add GROUP checking for it, fix GROUP number
	conversion with strlen(thousands) > 1.
	Honour width correctly in the presence of floating
	decimal points and thousands separators.
	* stdio-common/tst-sscanf.c: New test.
	* stdio-common/Makefile: Add it to tests.
	* sysdeps/generic/strtol.c (strtol): Fix conversion if there are
	thousands separators and group argument is non-zero.

	Reported by Andi Kleen <ak@suse.de>.
2000-07-28 17:45:15 +00:00
Ulrich Drepper
dab46544a2 Taiwanese locale definition. 2000-07-28 16:45:10 +00:00
Andreas Jaeger
f1e0984603 tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28  Andreas Jaeger  <aj@suse.de>

	* tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28 11:53:16 +00:00
Ulrich Drepper
476b6d7fa4 Update.
2000-07-26  Ulrich Drepper  <drepper@redhat.com>

	* libio/iofwide.c: Enable transliteration for conversion from wchar_t
	by default.
	* locale/C-ctype.c: Likewise.
	* wcsmbs/wcsmbsload.c: Likewise.
2000-07-26 23:00:05 +00:00
Ulrich Drepper
9f4fa5bc33 Update.
Contributed by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.Update.
2000-07-26 19:02:00 +00:00
Ulrich Drepper
e04b831ab4 Update.
2000-07-25  Bruno Haible  <haible@clisp.cons.org>

	* wctype/wctype.h (__wctrans_l): New declaration.
	* wctype/wctrans_l.c: New file.
	* wctype/Makefile (routines): Add wctrans_l.

	* rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
	* rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
2000-07-26 17:52:36 +00:00
Ulrich Drepper
b7ed26c663 Update.
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

	* rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
	Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2000-07-26 05:54:30 +00:00
Ulrich Drepper
70e392a33a Update.
* libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
2000-07-25 22:27:43 +00:00
Ulrich Drepper
16093625a6 Update.
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_builtin.h: Add WCHAR_T alias.
2000-07-25 21:59:36 +00:00
Ulrich Drepper
ef44614405 Update.
2000-07-23  Bruno Haible  <haible@clisp.cons.org>

	* wctype/wchar-lookup.h: New file.
	* wctype/iswctype.c: Include "wchar-lookup.h".
	(__iswctype): Support alternate locale format with 3-level tables.
	* wctype/iswctype_l.c (__iswctype_l): Likewise.
	* wctype/towctrans.c (__towctrans): Likewise.
	* wctype/towctrans_l.c (__towctrans_l): Likewise.
	* wctype/wcfuncs.c: Include "wchar-lookup.h".
	(__ctype32_wctype, __ctype32_wctrans): Declare external.
	(__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
	__iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
	__iswxdigit, towlower, towupper): Support alternate locale format
	with 3-level tables.
	* wctype/wcextra.c (iswblank): Likewise.
	* wctype/wcfuncs_l.c: Include "wchar-lookup.h".
	(__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
	__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
	__iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
	format with 3-level tables.
	* wctype/wcextra_l.c (__iswblank_l): Likewise.
	* wctype/wctype.c (__wctype): Likewise.  In the alternate locale
	format, return a 3-level table pointer.
	* wctype/wctype_l.c (__wctype_l): Likewise.
	* wctype/wctrans.c (wctrans): Likewise.
	* wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
	__ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
	__ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
	(iswctype): Remove macro definition.
	* wcsmbs/wcwidth.h: Include "wchar-lookup.h".
	(internal_wcwidth): Support alternate locale format with 3-level
	tables.
	* locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
	New nl_items.
	* locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
	Define them as being type "word".
	* locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
	* ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
	__ctype32_width): New exported variables.
	* locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
	alternate locale format. Don't initialize __ctype_names and
	__ctype_width in the alternate locale format.
	* locale/programs/localedef.h (oldstyle_tables): New declaration.
	* locale/programs/localedef.c (oldstyle_tables): New variable.
	(OPT_OLDSTYLE): New macro.
	(options): Add --old-style option.
	(parse_opt): Handle --old-style option.
	* locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
	map_offset, class_3level, map_3level, width_3level members.
	(ctype_output): Support for alternate locale format: Computation of
	nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
	_NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
	New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
	_NL_CTYPE_WIDTH now contains the three-level table. Extra elems
	now contain both class and map tables.
	(struct wctype_table): New type.
	(wctype_table_init, wctype_table_add, wctype_table_finalize): New
	functions.
	(struct wcwidth_table): New type.
	(wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
	functions.
	(struct wctrans_table): New type.
	(wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
	functions.
	(allocate_arrays): Support for alternate locale format: Set
	plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
	256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
	to the first 256 characters. Compute ctype->map_3level. Set
	ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
	instead of ctype->width.
2000-07-25 04:37:22 +00:00
Ulrich Drepper
f79d99cb26 Update.
* Makefile: Add rules to build, run, and distribute tst-langinfo.
	* tst-langinfo.c: New file.
	* tst-langinfo.sh: New file.
2000-07-25 03:54:45 +00:00
Ulrich Drepper
71433ae4fe Update.
* locales/ja_JP (era_d_t_fmt): Fix typo.
2000-07-25 03:45:07 +00:00
Ulrich Drepper
a64e8af150 Update.
2000-07-24  Ulrich Drepper  <drepper@redhat.com>

	* libio/iogetwline.c (_IO_getwline_info): Use wide character
	string functions.
2000-07-25 00:38:27 +00:00
Ulrich Drepper
33101abcb8 Update.
2000-07-24  Jakub Jelinek  <jakub@redhat.com>

	* locales/de_DE (LC_TIME): Use `Mit', not `Mot' as abbreviation
	for Wednesday.  Patch by <enrico.scholz@informatik.tu-chemnitz.de>.
2000-07-24 23:25:11 +00:00
Ulrich Drepper
945b22ed04 Update.
2000-07-23  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-639.def: Some errors corrected.
	Patch by Keld Simonsen.

	* include/limits.h: Update non-gcc portion.
	Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-07-24 00:22:08 +00:00
Ulrich Drepper
bb3090cd0d (yesexpr): Add U005E at the beginning. (noexpr): Likewise. 2000-07-24 00:07:41 +00:00
Ulrich Drepper
3b9754f4a1 Update.
* nss/nss_files/files-parse.c: Don't pollute namespace by using
	strcasecmp.
2000-07-23 03:23:04 +00:00
Ulrich Drepper
5df3a37300 Update.
2000-07-22  Mark Kettenis  <kettenis@gnu.org>

	* locale/findlocale.c (locale_file_list): Use __LC_LAST as array
	size instead of LC_ALL to take into account the new locale
	categories.
2000-07-23 00:20:47 +00:00
Ulrich Drepper
49ba1c128f Update.
* intl/tst-translit.c (main): Update for now performed
	transliteration.
2000-07-22 22:31:57 +00:00
Ulrich Drepper
0c0c8bdeed Update.
* locale/programs/ld-collate.c (handle_ellipsis): Test for
	duplication with generated name, not the name of the first
	character.
	Patch by Yong Li <yong.li@asu.edu>.
2000-07-22 02:36:19 +00:00
Andreas Jaeger
3a17c568d9 localedata is no add-on anymore, change docu. 2000-07-20 11:10:29 +00:00
Ulrich Drepper
5fca066768 Update.
2000-07-19  Ulrich Drepper  <drepper@redhat.com>

	* locales/i18n: Fix typos.

	* locales/iso14651_t1: Correct syntax for HAN script.
2000-07-19 07:47:34 +00:00
Ulrich Drepper
a48297fdf3 Update.
* spinlock.h (__pthread_trylock): Use __compare_and_swap, not
	compare_and_swap.
2000-07-19 05:36:15 +00:00
Ulrich Drepper
874bb5e379 Update.
2000-07-18  Ulrich Drepper  <drepper@redhat.com>

	* tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as
	space.
	* tst-ctype.c: Likewise.
	* tst-ctype.sh: Likewise.
	* locales/i18n: Likewise.
	* locales/ja_JP: Likewise.
	* tests-mbwc/dat_iswcntrl.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswspace.c: Likewise.

	* tst-ctype.sh: Also test C locale.
2000-07-18 20:32:49 +00:00
Ulrich Drepper
74238b8ee7 Mark U0000 as cntrl and U00A0 not as space. 2000-07-18 20:32:25 +00:00
Ulrich Drepper
ca41028b16 Update.
2000-07-16  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Rewrite rules for tests to run them only when necessary.
	* sort-test.sh: Produce output for failed tests.
	* tst-fmon.sh: Likewise.
	* tst-rpmatch.sh: Likewise.
2000-07-16 07:30:42 +00:00
Ulrich Drepper
cfd14df5ee Update.
2000-07-14  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add GB18030.
	(distribute): Add gb18030.c.
	* iconvdata/gconv-modules: Add entries for GB18030 module.
	* iconvdata/gb18030.c: New file.
	Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
	and Wu Jian.
2000-07-14 09:25:46 +00:00
Ulrich Drepper
0d655550de Update.
2000-07-12  H.J. Lu  <hjl@gnu.org>

	* resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
	for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.

2000-07-12  Ulrich Drepper  <drepper@redhat.com>

	* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
	it is wrong.
2000-07-12 20:39:58 +00:00
Ulrich Drepper
9f835f5fb4 Update.
2000-07-12  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_open.c (__gconv_open): Merge duplicated code.

2000-07-12  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
	__modname.

2000-07-12  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_open.c (__gconv_open): Initialize
	result->__steps[cnt].__data.

2000-07-12  Mark Kettenis  <kettenis@gnu.org>

	* nss/getent.c (services_keys): Pass port number in network byte
	order in call to getservbyport.

2000-07-11  Andreas Jaeger  <aj@suse.de>

	* stdlib/Makefile (test-canon-ARGS): Fix for building in the
	source dir.
	* intl/Makefile (do-gettext-test): Likewise.
	* dirent/Makefile (opendir-tst1-ARGS): Likewise.

2000-07-11  Andreas Schwab  <schwab@suse.de>

	* Makeconfig (run-program-prefix): New rule.
	(built-program-cmd): Use run-program-prefix.
2000-07-12 20:06:44 +00:00
Ulrich Drepper
6ccf5e679a Update.
* iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
	U007E.
2000-07-07 23:59:31 +00:00
Ulrich Drepper
a1035beb28 Update.
2000-07-07  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/SJIS: New file.
2000-07-07 23:41:12 +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
2528edd317 Update.
* iconvdata/euc-jp.c: Map characters in C1 area to itself.
	* iconvdata/euc-kr.c: Likewise.
2000-07-07 06:41:18 +00:00
Ulrich Drepper
9bcadd4e21 Update.
2000-07-06  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/EUC-JP: Make characters in C1 area map to themselves.
2000-07-07 06:23:55 +00:00
Ulrich Drepper
9484be87b4 Make characters in C1 area map to themselves. 2000-07-07 06:23:32 +00:00
Ulrich Drepper
c0f53cdd08 Update.
2000-07-06  Ulrich Drepper  <drepper@redhat.com>

	* include/signal.h: Declare __libc_sigaction.
	* sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
	* sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

	* configure.in: Fix CLAGS-memprofstat.c definition after
	2000-06-19 change.
	Patch by Bradford W. Johnson <bradford@math.umn.edu>.

2000-07-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
	instead of NULL to elf_machine_fixup_plt t argument.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
	cast.

2000-07-06  Andreas Jaeger  <aj@suse.de>

	* crypt/Makefile (LDLIBS-cert): Removed.
	(LDLIBS-md5c-test): Removed.
	($(objpfx)cert): Renamed from cert.out to fix dependencies.
	($(objpfx)md5c-test): Likewise for md5c-test.out.
2000-07-07 00:52:01 +00:00
Ulrich Drepper
cf90163d41 Regenerated: autoconf configure.in 2000-07-06 23:33:20 +00:00
Ulrich Drepper
11b3488225 Update.
* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
	string got copied in.
	Patch by Solar Designer <solar@false.com>.

2000-07-05  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Installation): Update information about
	add-ons.
	(Configuring and compiling): Update for glibc 2.2.

2000-07-04  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
	(_FPU_IEEE): Likewise.

	* math/Makefile (tests): Add test-fpucw.

	* math/test-fpucw.c (main): New file.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>
2000-07-05 22:34:10 +00:00
Ulrich Drepper
83b1b6d8fa Update.
2000-07-04  Ulrich Drepper  <drepper@redhat.com>

	* spinlock.c (__pthread_unlock): Properly place write barrier.
	Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2000-07-04 08:22:44 +00:00
Ulrich Drepper
4a9e89d5ea Update.
2000-07-03  Ulrich Drepper  <drepper@redhat.com>

	* tst-fmon.sh: Set LOCPATH and LANGUAGE for localedef run.
	* tst-locale.sh: Likewise.
2000-07-03 20:35:05 +00:00
Ulrich Drepper
40c4c9b562 Update.
2000-07-01  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile (generated-dirs): New.

	* elf/Makefile (generated): trusted-dirs.h is always generated,
	move out of build-shared condition.
	(generated): Merge the two entries for build-shared.

2000-07-01  Ulrich Drepper  <drepper@redhat.com>

	* debug/Makefile (distribute): Add xtrace.sh.
2000-07-01 15:41:36 +00:00
Ulrich Drepper
a2294e570c Update.
* version.h (VERSION): Bump to 2.1.91.

	* configure.in: Update warning comment.  glibc should not be
	broken anymore.

	* sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
	ioperm.c, sys/procfs.h, and sys/io.h.

	* sysdeps/powerpc/Dist: Add bp-asm.h.

	* sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2000-07-01 06:34:10 +00:00
Ulrich Drepper
b62404dcc9 Update. 2000-07-01 05:26:07 +00:00
Ulrich Drepper
5e087c7152 Update.
* assert/Depend: Add localedata.
	* assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
	(test-assert-perr-ENV): New.  Define LANGUAGE=C.

	* sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
	R_ALPHA_REFQUAD]: Use memcpy to load and store value from
	relocation address to prevent unaligned trap.
	Suggested by Richard Henderson <rth@cygnus.com>.

2000-06-30  Jakub Jelinek  <jakub@redhat.com>

	* io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
	if redirecting and either redirection is done using defines or
	not optimizing.

2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2000-07-01 05:19:18 +00:00
Ulrich Drepper
b856f875e8 Update.
* sunrpc/rpc_cout.c (inline_struct): Add missing braces in
	generated expressions.
	Patch by Darren McClelland <dmcclell@zetec.com>.
2000-07-01 04:35:11 +00:00
Ulrich Drepper
71d82dbe9e Update.
* timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
	since zic uses setlocale and gettext but we cannot make it use the
	new locale data since zic calls a shell which might not use the
	new libc.
2000-07-01 02:46:04 +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
394679ebe7 Update.
* elf/Makefile (LDFLAGS-origtest): Actually add it.
2000-06-30 18:11:39 +00:00
Ulrich Drepper
acb53dc1ae (install-locales): Remove the -u switch from localedef command line. 2000-06-30 17:23:04 +00:00
Ulrich Drepper
040cf4baf7 Update.
* tst-fmon.sh: Don't generate de_DE and en_US locale data.
	* tst-rpmatch.sh: Use de_DE.ISO-8859-1 not de_DE.
	* tst-ctype.sh: Use de_DE.ISO-8859-1 and en_US.ANSI_X3.4-1968.

	* locales/POSIX: Update for new format.
2000-06-30 04:07:37 +00:00
Ulrich Drepper
f53413a1c6 Don't generate de_DE and en_US locale data. 2000-06-30 04:04:41 +00:00
Ulrich Drepper
f175216dbf Update.
2000-06-29  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
	data files.
2000-06-30 00:11:52 +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
Ulrich Drepper
e0bd78f584 Until we know what is correct, but the spaces after DEM back in. 2000-06-29 23:33:34 +00:00
Ulrich Drepper
a0e5d73a78 Update.
* stdio-common/tst-printf.c: Add test for above problem.
2000-06-29 19:35:32 +00:00
Ulrich Drepper
a5707dad25 Update.
2000-06-29  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
	we later need to calling free().
	Patch by Matt Wilson <msw@redhat.com>.

2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
	prototype for abs().
	* sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2000-06-29 19:33:05 +00:00
Ulrich Drepper
5ab0176021 Convert to new format. 2000-06-29 19:07:29 +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
2d7fb37aa3 Update.
2000-06-27  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
	count into signatures for most calls.
2000-06-28 23:54:33 +00:00
Ulrich Drepper
99274b38bd Update.
2000-06-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
	the generic parser now.
2000-06-28 23:51:54 +00:00
Ulrich Drepper
aa1b098472 Update.
2000-06-28  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
	table entries are 32 bit on the ia64 (as specified by the ABI),
	not 64 bit as on the Alpha.

	* shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
	change of objects to use 32 bit hash table indices (see above).

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
	prototype for abs().
2000-06-28 23:50:37 +00:00
Ulrich Drepper
07c35131ad Update.
2000-06-28  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (chunk_alloc): If extension of the linear heap
	fails, try mmap_chunk() as a last resort even though n_mmaps_max
	may have been reached.
2000-06-28 23:28:29 +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
777e222ddb Update.
* Makefile (do-tst-ctype): Add do-tst-mbswcs to list of dependencies.
	(TEST_MBWC_ENV): Remove unnecessary slash.
	* tst-ctype.sh: Add de_DE.UTF-8 to list of tested locales.

	* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Correct UTF-8 input data.

	* Makefile: Add do-tst-mbswcs to dependencies of locale test suite
	tests.
2000-06-28 21:38:03 +00:00
Ulrich Drepper
392ac96984 Update.
* iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
	sequences with first by 0x8e correctly.
2000-06-28 18:11:30 +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
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
Ulrich Drepper
afa0569f3b Update.
* crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
	ufc.c, speeds.c, README.ufc-crypt, and Banner.

	* sysdeps/sparc/Subdirs: New file.

	* locale/Makefile (distribute): Add weightwc.h and
	programs/localedef.h.

	* time/Makefile (distribute): Add datemsk.

	* sysdeps/ia64/Dist: Add softpipe.h.

	* sysdeps/unix/sysv/aix/Dist: New file.

	* posix/setpgrp.c: Moved to...
	* sysdeps/generic/setpgrp.c: ...here.  New file.
	* io/mknod.c: Moved to...
	* sysdeps/generic/mknod.c: ...here.  New file.

	* sysdeps/unix/sysv/linux/ia64/Dist: New file.

	* sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.

	* sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.

	* sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
	gprsave0.S, gprrest1.S, and gprrest0.S.

	* sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.

	* posix/Makefile (routines): Add spawnattr_getsigmask,
	spawnattr_getschedpolicy, spawnattr_getschedparam,
	spawnattr_setsigmask, spawnattr_setschedpolicy, and
	spawnattr_setschedparam.
	* posix/Versions: Add posix_spawnattr_getschedpolicy,
	posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
	posix_spawnattr_setschedparam.

	* posix/spawnattr_setschedparam.c: Fix typo.

	* posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
	Correct typo.

	* login/programs/utmpd.c: Removed.
	* login/programs/utmpd.h: Removed.
	* login/programs/utmpd-private.h: Removed.

	* Makefile (distribute): Add include/db_185.h and include/db.h.

	* iconvdata/Makefile (distribute): Add iso-ir-165.c and
	iso-ir-165.h.

	* elf/Makefile (distribute): Add missing files.

	* dlfcn/Makefile: Add back rules to include eval in libdl.so.
	* elf/eval.c: Moved to...
	* dlfcn/eval.c: ...here.  New file.

	* Makefile (distribute): Also distribute ChangeLog.1?.
2000-06-14 00:55:24 +00:00
Ulrich Drepper
f0f8ed4e3f Update.
2000-05-28  Ulrich Drepper  <drepper@redhat.com>

	* locales/be_BY: New file.
	Contributed by Aleksey Novodvorsky <aen@logic.ru>.
2000-05-28 07:07:05 +00:00
Ulrich Drepper
1f9f77cd2c Belarusian Language Locale for Belarus. 2000-05-28 07:06:29 +00:00
Ulrich Drepper
acb5ee2e56 Update.
2000-05-24  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-collate.c (struct element_t): Add mbseqorder
	and wcseqorder members.
	(struct locale_collate_t): Likewise.
	(collate_finish): Assign collation sequence value to each character.
	Create tables for output.
	(collate_output): Write out tables with collation sequence information.
	* locale/C-collate.c: Provide C locale data for collation sequence
	table.
	* locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
	_NL_COLLATE_COLLSEQWC.
	* locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
	_NL_COLLATE_COLLSEQWC.
	* posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
	include fnmatch_loop.c.
	* posix/fnmatch_loop.c: Don't use strcoll while determining whether
	character is matched by range expression.  Use collation sequence
	table.  Outside glibc fall back on simple character value comparison.
2000-05-24 20:22:51 +00:00
Andreas Jaeger
bcaad6ee58 Update.
* csu/munch-tmpl.c (__libc_init): Remove K&R support.
	* dirent/scandir64.c: Likewise.
	* pwd/getpw.c: Likewise.
	* stdlib/bsearch.c (bsearch): Likewise.
	* stdlib/tst-strtoll.c: Likewise.
	* localedata/collate-test.c: Likewise.
	* localedata/xfrm-test.c: Likewise.
	* posix/bsd-getpgrp.c: Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
	* sysdeps/generic/bits/siginfo.h: Likewise.
	* sysdeps/generic/bits/sockaddr.h: Likewise.
	* sysdeps/generic/sys/swap.h: Likewise.
	* sysdeps/generic/sys/sysinfo.h: Likewise.
	* sysdeps/generic/vfork.c: Likewise.
	* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
	* sysdeps/mach/hurd/fdopen.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/readv.c: Likewise.
	* sysdeps/unix/sysv/linux/writev.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.

	* misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
	* shadow/lckpwdf.c: Likewise.
	* stdlib/tst-strtol.c: Likewise.
	* sysdeps/generic/tcsetattr.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2000-05-23 08:43:26 +00:00
Andreas Jaeger
35f9eb5dae 2000-05-15 Andreas Jaeger <aj@suse.de>
* tst-fmon.data: Change testcase following fixes for
	de_DE.

	* locales/de_DE: Remove space after DEM since DEM is
	now placed after the value.
	* tst-fmon.data: Change testcase following fixes for
	de_DE.

	* locales/de_DE: Remove space after DEM since DEM is
	now placed after the value.
2000-05-15 11:49:07 +00:00
Andreas Jaeger
464a88ce05 2000-05-15 Andreas Jaeger <aj@suse.de>
* locales/de_DE: Fix currency placement to use "12.345,68 DM".
	Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
	PR libc/1713.
2000-05-15  Andreas Jaeger  <aj@suse.de>

	* locales/de_DE: Fix currency placement to use "12.345,68 DM".
	Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
	PR libc/1713.
2000-05-15 11:30:54 +00:00
Ulrich Drepper
61d357cae3 Update.
2000-05-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
	end of enum.

2000-05-04  Jakub Jelinek  <jakub@redhat.com>

	* iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
	happy.
2000-05-05 05:47:53 +00:00
Ulrich Drepper
7ee0c09d61 Update.
2000-05-04  Ulrich Drepper  <drepper@redhat.com>

	* tst-fmon.c (main): Print the locale name as well in the error
	message.
2000-05-05 04:07:40 +00:00
Ulrich Drepper
22b04aad10 (main): Print the locale name as well in the error message. 2000-05-05 04:07:18 +00:00
Ulrich Drepper
d413445041 Update.
* localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
	(do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
	* localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
	* localedata/tst-mbswcs4.c: New file.
	* localedata/tst-mbswcs5.c: New file.
2000-04-28 06:30:45 +00:00
Ulrich Drepper
3c5adb7667 Update.
2000-04-27  Ulrich Drepper  <drepper@redhat.com>

	* localedata/Makefile (test-srcs); Add tst-mbswcs3.
	Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
	* localedata/tst-mbswcs.sh: Run tst-mbswcs3.
	* localedata/tst-mbswcs3.c: New file.
2000-04-27 07:19:36 +00:00
Ulrich Drepper
1da6cab218 Update.
* wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
	characters.  Don't handle incomplete characters as errors.
	* wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
	* localedata/Makefile (test-srcs): Add tst-mbswcs2.
	Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
	* localedata/tst-mbswcs.sh: Run tst-mbswcs2.
	* localedata/tst-mbswcs2.c: New file.
2000-04-27 06:47:02 +00:00
Ulrich Drepper
316518d610 Update.
2000-04-26  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
	stored character in state in UNPACK_BYTES macro.
	* iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
	test for available characters, handle result of BODY code correctly.
	* localedata/Makefile (test-srcs): Add tst-mbswcs1.
	(distribute): Add tst-mbswcs.sh.
	Add rule to run tst-mbswcs.sh.
	* localedata/tst-mbswcs.sh: New file.
	* localedata/tst-mbswcs1.c: New file.

2000-04-26  Jakub Jelinek  <jakub@redhat.com>

	* nis/nis_callback.c (__nis_create_callback): Do failed memory
	allocation fixups centrally, fix __builtin_expect call, return NULL
	on failure, not NIS_NOMEMORY.

2000-04-27  Bruno Haible  <haible@clisp.cons.org>
2000-04-27 05:42:19 +00:00
Ulrich Drepper
8956ac9e97 Update.
2000-04-09  Ulrich Drepper  <drepper@redhat.com>

	* localedata/Makefile: Add rules to clean up directories created by
	new strfmon tests.

2000-04-09  Geoff Clare  <gwc@unisoft.com>

	* localedata/tst-fmon.data: Added new tests for strfmon()
	using test locales with all combinations of cs_precedes,
	sign_posn and sep_by_space.
	* localedata/tst-fmon.sh: Updated to support the new tests.
	* localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
	the localedef source for the new strfmon() test locale.
	* localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
	* localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
	* localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.

	* stdlib/strfmon.c: Correct problems with missing or extra
	spaces for unusual combinations of sign_posn and sep_by_space.
	Improved left-precision alignment code.
2000-04-10 05:13:54 +00:00
Ulrich Drepper
a0dc52061f Update.
2000-04-06  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/charmap.c (charmap_new_char): Add parameter step.
	Support ..(2).. ellipsis.
	(parse_charmap): Recognize ..(2).. etc and pass step down.
	Correctly generate names for UCS4 characters.

	* locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
	(ctype_finish): We know the wide character value for <SP>,
	don't search.
	(charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
	(charclass_ucs4_ellipsis): Likewise.
	(read_translit_ignore_entry): Store ellipsis step.
	(ctype_read): Recognize ..(2).. etc and pass step down.

	* locale/programs/linereader.c (lr_token): When seeing comment
	character ignore only rest of line in sources but stop at escaped
	newline.
	Recognize ..(2).. and ....(2).....

	* locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
	and tok_ellipsis4_2.
2000-04-07 02:38:44 +00:00
Ulrich Drepper
9e9e0532a4 Update.
2000-03-29  Geoff Clare  <gwc@unisoft.com>

	* stdlib/strfmon.c: Corrected problems with the code that
	sets default values for [np]_sep_by_space and
	[np]_sign_posn; also the new positive/negative alignment
	code from the previous patch was not quite right for
	[np]_sign_posn = 0.

	* localedata/tst-fmon.data: Changes corresponding to the
	two sets of fixes made to stdlib/strfmon.c.
2000-03-31 06:57:36 +00:00
Ulrich Drepper
22d5fbfe74 Update.
* stdio-common/tst-obprintf.c (main): Add another check to see
	obstack_printf handling all possible beginnings of the block
	inside an obstack chunk.
2000-03-27 18:36:21 +00:00
Andreas Jaeger
5a0ca44d63 2000-03-15 Andreas Jaeger <aj@suse.de>
* locales/sl_SI: Fix entries for june and july.
	Reported by primoz.peterlin@biofiz.mf.uni-lj.si, closes PR
	libc/1648.
2000-03-15  Andreas Jaeger  <aj@suse.de>

	* locales/sl_SI: Fix entries for june and july.
	Reported by primoz.peterlin@biofiz.mf.uni-lj.si, closes PR
	libc/1648.
2000-03-16 11:12:24 +00:00
Ulrich Drepper
c389162628 Update.
2000-03-14  Ulrich Drepper  <drepper@redhat.com>

	* locales/en_DK: Correct syntax.

	From Pablo Saratxaga <pablo@mandrakesoft.com>.
2000-03-15 00:37:19 +00:00
Ulrich Drepper
e3d53b06cc Update.
2000-03-03  Paul Eggert  <eggert@twinsun.com>

	* posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
	define to 1 if not defined.
2000-03-03 21:35:29 +00:00
Ulrich Drepper
c88c839956 Update.
2000-03-03  Andreas Jaeger  <aj@suse.de>

	* sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.

2000-03-03  Andreas Jaeger  <aj@suse.de>

	* sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
	cases.
	(xdr_int64_t): Correctly handle lower half.
	Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2000-03-03 21:33:34 +00:00
Ulrich Drepper
bdd5fccdee Update.
2000-03-03  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
	call.
2000-03-03 21:07:41 +00:00
Ulrich Drepper
2f1afc880b Update.
* sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
	2.3.43.

2000-03-02  Andreas Jaeger  <aj@suse.de>
2000-03-03 20:10:07 +00:00
Ulrich Drepper
6500dff664 Update.
2000-03-02  Andreas Jaeger  <aj@suse.de>

	* resolv/Makefile (headers): Add arpa/nameser_compat.h.
2000-03-03 20:04:58 +00:00
Ulrich Drepper
fc304e02a7 Update.
2000-03-01  Andreas Jaeger  <aj@suse.de>

	* time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
	(tests): Added tst-getdate.

	* time/tst-getdate.c: New file.

	* time/datemsk: New file, needed for tst-getdate.
2000-03-03 19:49:23 +00:00
Ulrich Drepper
7c233bd96d Update.
1999-12-31  Martin Buchholz  <martin@xemacs.org>

	* argp/argp-help.c: Likewise.
	* argp/argp.h: Likewise.
	* elf/dl-object.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/elf.h: Likewise.
	* elf/rtld.c: Likewise.
	* iconv/gconv_open.c: Likewise.
	* localedata/tst-fmon.data: Likewise.
	* localedata/tst-rpmatch.sh: Likewise.
	* login/programs/xtmp.h: Likewise.
	* manual/arith.texi: Likewise.
	* manual/charset.texi: Likewise.
	* manual/creature.texi: Likewise.
	* manual/llio.texi: Likewise.
	* manual/search.texi: Likewise.
	* manual/signal.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/string.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	* manual/users.texi: Likewise.
	* manual/examples/argp-ex2.c: Likewise.
	* manual/examples/argp-ex3.c: Likewise.
	* manual/examples/argp-ex4.c: Likewise.
	* manual/examples/mkfsock.c: Likewise.
	* math/test-fenv.c: Likewise.
	* nscd/nscd_gethst_r.c: Likewise.
	* nss/test-netdb.c: Likewise.
	* posix/regex.c: Likewise.
	* scripts/test-installation.pl: Likewise.
	* stdlib/canonicalize.c: Likewise.
	* stdlib/fmtmsg.c: Likewise.
	* string/argz-replace.c: Likewise.
	* string/argz.h: Likewise.
	* string/bits/string2.h: Likewise.
	* sysdeps/generic/glob.c: Likewise.
	* sysdeps/generic/setenv.c: Likewise.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/posix/waitid.c: Likewise.
	* time/tzset.c: Likewise.
2000-02-22 09:35:18 +00:00
Ulrich Drepper
a458f76081 Fix typo.
* SUPPORTED: Add mk_MK ISO-8859-5.
2000-02-22 09:01:04 +00:00
Ulrich Drepper
49c091e523 Update.
2000-02-22  Ulrich Drepper  <drepper@redhat.com>

	* locales/mk_MK: New file.
	Contributed by Damjan Georgievski <gdamjan@freemail.org.mk>
	* SUPPORTED: Add mk_MK ISO-8859-1.
2000-02-22 09:00:35 +00:00
Ulrich Drepper
65580ca855 Update.
* SUPPORTED: Add gl_ES.ISO-8859-1.
2000-02-12 23:04:35 +00:00
Ulrich Drepper
2eb15d058e Update.
* SUPPORTED: Add ar_SA.ISO-8859-6.
2000-02-12 22:26:47 +00:00
Ulrich Drepper
9dbb52db5d Update.
* locales/ar_SA: New file.

	* locales/th_TH: Remove Thai digits from `digits'.
2000-02-12 22:25:57 +00:00
Ulrich Drepper
51e7c62620 Update.
* SUPPORTED: Add th_TH.TIS-620.
2000-02-12 21:27:11 +00:00
Ulrich Drepper
7e66fa36a7 Update.
2000-02-12  Ulrich Drepper  <drepper@redhat.com>

	* locales/el_GR (toupper): Don't map *s to S*.
	* locales/en_DK: Likewise.
	* locales/en_DK.com: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.

	* locales/en_DK (toupper): Map v% to V%.
	(tolower): Map V% to v%.
	* locales/en_DK.com: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
2000-02-12 18:16:10 +00:00
Ulrich Drepper
cb68312f3e (toupper): Don't map *s to S*. 2000-02-12 18:11:46 +00:00
Ulrich Drepper
b168cff285 Update.
* iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
	Reported by Bruno Haible <haible@ilog.fr>.
2000-02-11 19:24:43 +00:00
Ulrich Drepper
a1d84548c8 Update.
2000-02-11  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/printf-parse.h (parse_one_spec): Set wide elements.

	* stdio-common/printf_fp.c: Truely support wide characater output.
	Finally handle decimal points and thousands separator characters
	correctly for multibyte output.
	* stdio-common/printf_size.c: Likewise.
	* sysdeps/generic/printf_fphex.c: Likewise.
	* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.

	* stdio-common/vfscanf.c: Implement I modifier for numbers to read
	locale dependent digits.

	* locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
	decimal point and thousands separator values to wide characters from
	wide character strings.
	* locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.

	* locale/indigitswc.h: Dereference wcdigits array elements.

2000-02-03  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/canonicalize.c (canonicalize): Zero terminate
	path to copy on error.

2000-02-01  Cristian Gafton  <gafton@redhat.com>

	* misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.

2000-01-31  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.

2000-01-31  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile (generated): msgs.h is generated.

	* localedata/Makefile (generated-dirs): Add de_DE.437.

2000-01-31  Jakub Jelinek  <jakub@redhat.com>

	* config.make.in: Allow default localedir to come from configure.
	* configure.in: Export libc_cv_localedir.
	* sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
	stuff into $exec_prefix/lib/locale because it can be shared between
	32bit and 64bit libraries.
	* configure: Rebuilt.
	* sysdeps/unix/sysv/linux/configure: Rebuilt.

2000-01-31  Andreas Jaeger  <aj@suse.de>

	* inet/tst-network.c: New file.
	* inet/Makefile (tests): Add tst-network.

	* inet/inet_net.c (inet_network): Don't overwrite memory or allow
	to great last digits.
2000-02-11 18:50:36 +00:00
Ulrich Drepper
b6aa34eb72 Update.
* locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
	print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
	(_nl_unload_locale): If locale data was mmapped use munmap.

2000-01-29  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
	_EXTERN_INLINE, compile inline assembler functions only with gcc.

2000-01-29  Ulrich Drepper  <drepper@redhat.com>

	* catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
	* catgets/gencat.c (read_input_file): Remove messages correctly.
	* catgets/open_catalog.c (__open_catalog): Handle trailing colons and
	adjacent colons correctly.  Correct loops to read territory and
	and codeset part.
	Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).

	* rt/aio_misc.c (get_elem): Assign pointer to new row to correct
	pool entry.
	Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).

2000-01-28  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
	interface with symbol version GLIBC_2.2.
	* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.

2000-01-27  Scott Bambrough  <scottb@netwinder.org>

	* sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
	resource directory.
	* sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
	versioning setrlimit and getrlimit.

2000-01-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
	* sysdeps/powerpc/fpu/libm-test-ulps: ...this.

2000-01-27  Ruediger Oertel  <ro@suse.de>

	* sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.

2000-01-29  Ulrich Drepper  <drepper@redhat.com>
2000-01-29 12:04:45 +00:00
Ulrich Drepper
db76d9433c Update.
* locale/programs/ld-collate.c (collate_output): Also handle
	IGNOREd characters in the simple way when generating the multibyte
	table.

	* locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
	handling to ...
	(ctype_finish): ...here.  Check for missing codeset name.
2000-01-25 01:00:37 +00:00
Ulrich Drepper
973209d8b0 Update.
2000-01-24  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
	* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.

2000-01-24  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
	* sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
	* sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
	* sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
	* sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
	* sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
	* sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
	* sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
	* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
	* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
	* sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
	* sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
	* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/msgget.c: Likewise.
	* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
	* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
	* sysdeps/unix/sysv/linux/semget.c: Likewise.
	* sysdeps/unix/sysv/linux/semop.c: Likewise.
	* sysdeps/unix/sysv/linux/shmat.c: Likewise.
	* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
	* sysdeps/unix/sysv/linux/shmget.c: Likewise.
2000-01-24 12:38:46 +00:00
Ulrich Drepper
e645ed3a23 Update.
2000-01-24  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
	* sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Dist: Likewise.
	* sysdeps/unix/sysv/linux/arm/Versions: Remove
	setrlimit64@GLIBC_2.1.3.
	* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
	* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
	* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
	so that setrlimit64@GLIBC_2.1 can report limits above 2G.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
	setrlimit): Remove syscall stubs, add normal syscalls.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
	Remove syscall stub.
2000-01-24 12:09:14 +00:00
Ulrich Drepper
608cc1f0bc Update.
2000-01-22  Andreas Jaeger  <aj@suse.de>

	* localedata/tst-locale.sh: Enable test for de_DE.437.
2000-01-24 04:18:43 +00:00
Ulrich Drepper
a5334a6807 Update.
* wcsmbs/mbsrtowcs.c: Compute return value correctly after change
	in gconv function.
2000-01-19 06:49:51 +00:00
Ulrich Drepper
03c0d6ef17 Update.
* Makefile (install): Correct passing -r parameter to ldconfig.
2000-01-12 12:08:13 +00:00
Ulrich Drepper
ce75c139ac Update.
2000-01-12  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
	Reported by Bruno Haible <haible@ilog.fr>.

2000-01-11  Andreas Schwab  <schwab@suse.de>

	* sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.

2000-01-10  Thorsten Kukuk  <kukuk@suse.de>

	* nss/getent.c: Add ipv6 support for hosts.

2000-01-05  Philip Blundell  <pb@futuretv.com>

	* sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
	getrlimit64, setrlimit64 for GLIBC_2.1.3.
	* sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
	oldsetrlimit.
	* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.

	* sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
	(sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
	[subdir=misc] (sysdep_headers): Add sys/elf.h.

2000-01-09  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Tools for Compilation): Update required
	compiler version.
	(Configuring and compiling): Restore old comments about
	configparms; modify to reflect current usage.

2000-01-09  Philip Blundell  <philb@gnu.org>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
	resolution if the hints included AI_NUMERICHOST.
2000-01-12 11:39:14 +00:00
Ulrich Drepper
f14854aab2 Update.
2000-01-06  Ulrich Drepper  <drepper@cygnus.com>

	* localedata/Makefile (install-locales): Create locale directory
	if it does not exist.

	* locale/programs/charmap.c (charmap_read): Call lr_open here and
	not in parse_charmap.  Try also the directories on the I18NPATH.
	(parse_charmap): Change accordingly.
2000-01-08 04:46:10 +00:00
Ulrich Drepper
eb7c2001aa Update.
* io/ftw.c (process_entry): Cache object dev/inode only for
	directories (PR libc/1514).

2000-01-05  Andreas Schwab  <schwab@suse.de>

	* locale/programs/charmap.c (charmap_read): Fix typo.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/charset.c: Removed.
2000-01-05 20:49:52 +00:00
Ulrich Drepper
7abbb474e7 Update.
2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Add rules for ISO-8859-16 module.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/iso8859-16.c: New file.
2000-01-05 19:15:03 +00:00
Ulrich Drepper
d569d3331f Update.
2000-01-05  Andreas Schwab  <schwab@suse.de>

	* iconv/iconv_prog.c (process_block): Add cast to avoid warning.

	* locale/programs/linereader.c: Remove #include of stringtrans.h.
2000-01-05 17:34:44 +00:00
Ulrich Drepper
1ecdfd3254 Update.
2000-01-03  Ulrich Drepper  <drepper@cygnus.com>

	* SUPPORTED: Change lt_LT charset to ISO-8859-13.
2000-01-03 21:11:54 +00:00
Ulrich Drepper
70e51ab9f3 Update.
* locale/programs/ld-collate.c (collate_output): Don't start with empty
	extrapool and indirectpool obstacks since we need the offsets to be
	nonzero.
	(collate_read): Call load_locale, not find_locale.
	* locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
	wasn't defined in the file also initialize repertoire if possible.
	* locale/programs/ld-time.c (time_finish): Fix message string.
	* locale/programs/linereader.c: Cast parameters of lr_error to
	correct type to prevnet warning.
	* locale/programs/localedef.c (load_locale): New file.
	* locale/programs/localedef.h: Add its prototype.
	* locale/programs/repertoire.c (repertoire_new_char): Add missing
	parameters to lr_error call.

	* localedata/Makefile: Enable running tests again.
	* localedata/tests/test2.def: Adjust syntax to new specification.
	* localedata/tests/test3.def: Likewise.
	* localedata/tst-trans.sh: Redirect output of program into file.

	* string/strcoll.c: Fix many error in new implementation to make it
	pass (at least) the test suite.

	* locale/Makefile: Don't link localedef statically anymore.

	* locale/ld-collate.c (struct element_t): Add field is_character and
	use it to distinguish real character from collating elements and
	symbols.
	* locale/programs/ld-time.c: Likewise.
1999-12-27 05:05:12 +00:00
Ulrich Drepper
a35766db16 Update.
* collate-test.c (main): Correct logic in test.
1999-12-26 09:07:14 +00:00
Ulrich Drepper
f6ada7adcb Update.
1999-12-26  Ulrich Drepper  <drepper@cygnus.com>

	* tst-trans.sh: Use correct name for dynamic loader.
1999-12-26 08:47:27 +00:00
Ulrich Drepper
293321753c Update.
1999-12-23  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-monetary.c (monetary_finish): Add cast to
	prevent warning.

	* locale/programs/ld-collate.c: Implement writing out multibyte
	collation data.

	* locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
	* locale/localeinfo.h: Declare variables only for currently implemented
	collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
	* locale/lc-collate.c: Define variables only for currently implemented
	functionality.
	* locale/langinfo.h: Define symbols only for currently implemented
	functionality.
	* locale/categories.def: Define elements for currently implemented
	functionality.
	* locale/C-collate.c: Comment out definitions of arrays with symbol
	name definitions etc.
	(_nl_C_LC_COLLATE): Update for currently defined information.

	* intl/libintl.h: Remove dcgettext macro definition.
	* intl/gettextP.h: Declare _nl_msg_cat_cntr.

	* locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.

	* sysdeps/generic/glob.c (glob): Pass alternate file access functions
	also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.

1999-12-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
	for __fenv_stfsr argument.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
	truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
	Remove ugetrlimit.
	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
	(XSTAT_IS_XSTAT64): Define.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
	__libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
	and __libc_pwrite64.
	Remove oldgetrlimit and oldsetrlimit.
	* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.

	* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
	pointer to the syscall, not address of that pointer.
	* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
	(__syscall_stat64): Provide proper prototype.

	* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
	has_no_truncate64 between truncate64 and ftruncate64.
	* sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
	__ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.

1999-12-22  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
	__libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1999-12-24 05:55:50 +00:00
Ulrich Drepper
575b273bdc Update.
1999-12-23  Ulrich Drepper  <drepper@cygnus.com>

	* locale/en_BW: New file.
	* locale/en_ZW: New file.
	Contributed by Schalk W. Cronj <schalkc@ntaba.co.za>.

	Contributed by Schalk W. Cronj <schalkc@ntaba.co.za>.
1999-12-24 05:42:34 +00:00
Ulrich Drepper
958d68077b Update.
1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

	* locale/lc-time.c: Extend structure era_entry.
	* locale/localeinfo.h: Likewise.
	* locale/lc-time.c: Handle '-' direction used in locale's era part
	properly.
	* time/strptime.c: Likewise.
	* time/strftime.c: Likewise.
	* locale/programs/ld-time.c: Consider negative values in era part
	of locale as B.C..
	* time/strptime.c (strptime_internal): Merged Yoshiyama's
	%E[CyY] implementation.

1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>

	* time/strptime.c (strptime_internal): Fix segV bugs of a couple
	of recursive() call.
	* time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
	parsing.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
	Patch by Scott Bambrough <scottb@netwinder.org>.
1999-12-21 17:50:57 +00:00
Ulrich Drepper
47cd4757a8 Update.
1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

	* locales/af_ZA: New file.
1999-12-21 00:55:57 +00:00
Ulrich Drepper
2a505c961d Update.
* sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
	inclusion.

1999-12-19  Andreas Jaeger  <aj@suse.de>

	* include/string.h: Mark __strndup with __attribute_malloc__.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1999-12-19 19:14:15 +00:00
Ulrich Drepper
cf7dc78aa5 Update.
* malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1999-12-19 00:32:58 +00:00
Ulrich Drepper
6e398b0287 Update.
1999-12-10  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-collate.c: Many changes to implement parsing
	of collation definition (still not complete).
1999-12-11 02:51:13 +00:00
Ulrich Drepper
7bd3a4eadb Update.
1999-12-09  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-collate.c (insert_value): If this is the
	first symbol the cursor can be the same as the next pointer.
1999-12-09 08:21:40 +00:00
Ulrich Drepper
f1d8b8044e Update.
* locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
	arrays.
	(allocate_arrays): Allocate memory for map32.  Correctly install
	default values in it and install defined mappings.

	* locale/programs/ld-monetary.c (monetary_finish): Provide default
	value for mon_grouping.
1999-12-09 07:52:58 +00:00
Ulrich Drepper
5ad81f4085 Update.
1999-12-08  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
	only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
1999-12-08 09:15:00 +00:00
Ulrich Drepper
7eda722de5 Update.
1999-12-07  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
	__stpcpy_small): Cast switch expressions to int to shut up compiler
	warnings.
1999-12-08 08:41:33 +00:00
Ulrich Drepper
6a94473e3b Update.
standard was issued in 1992.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-11-29 19:32:30 +00:00
Ulrich Drepper
a41a567405 Update.
1999-11-29  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
	standard was issued in 1992.  Reported by Bruno Haible <haible@ilog.fr>.
1999-11-29 19:30:48 +00:00
Ulrich Drepper
949e1b13ee Update.
1999-11-27  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

     * locales/ja_JP: Add JIS X 0201 kana and JIS X 0212 definitions.
     * charmaps/EUC-JP: Likewise.
     * repertoiremaps/mnemonic.ja: Likewise.

     * locales/ja_JP: Add extra CLASS and MAP definisions.

     * charmaps/EUC-JP: Add WIDTH definitions.
1999-11-28 05:14:35 +00:00
Ulrich Drepper
c559a3ca84 Update.
1999-11-25  H.J. Lu  <hjl@gnu.org>

	* stdlib/exit.c (exit): Run funtions only if
	__exit_funcs->idx > 0.

1999-11-25  Ulrich Drepper  <drepper@cygnus.com>

	* manual/charset.texi (iconv Examples): Add iconv call to flush
	state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.

1999-11-25  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Running make install): Better describe
	update from libc5.
	Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

1999-11-25  Andreas Jaeger  <aj@suse.de>

	* include/sys/mman.h: Remove K&R compatibility.

1999-11-15  Andreas Jaeger  <aj@suse.de>

	* misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
	use __off64_t.

1999-11-25  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/iconv_prog.c (process_block): For stateful charsets write
	out byte sequence to get to initial state at the end of the file.

	which was reported to not work (which proofed to be wrong).
1999-11-25 19:27:07 +00:00
Ulrich Drepper
76e680a87a Update.
* string/stratcliff.c: Add one more strchr test for something
	which was reported to not work
	(which proofed to be wrong).
1999-11-24 05:51:45 +00:00
Ulrich Drepper
e46309e103 Update.
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
	name from the locale name.  Only use the value in the LC_CTYPE
	locale data file.
1999-11-23 06:01:02 +00:00
Ulrich Drepper
a223631664 Update.
* locale/programs/ld-monetary.c (monetary_finish): Don't print
	individual error message if nothing is defined.
1999-11-21 06:51:06 +00:00
Ulrich Drepper
1ceb8afe3d Update.
* locale/programs/ld-time.c (time_startup): Test for lr being
	nonzero, not time.

	* locale/programs/ld-numeric.c (numeric_finish): Don't crash if
	decimal_point is not defined.
1999-11-21 06:02:35 +00:00
Ulrich Drepper
5491da0dfa Update.
* locale/programs/ld-ctype.c (ctype_output): Correct computation of
	nelems.  Correctly compute index for additional character classes.
	(ctype_read): Handle charclass and charconv definitions.  Also
	recognize arbitrary strings as mapping names.
	* locale/programs/ld-time.c (time_finish): Correctly skip over wide
	character era strings.
	* locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
	and format for wide characters.
	* time/strftime.c: Correctly determine era information for wide
	wcsftime.
	* wctrans.c: Fix after removal of second endianess table.
	* wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
	Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

	* wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
1999-11-18 07:22:53 +00:00
Ulrich Drepper
35946fb706 Update.
* wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
1999-11-18 02:59:57 +00:00
Ulrich Drepper
404127bca0 Update.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
	gregset_t, fpregset_t, and NGREG definitions.
1999-11-18 00:34:12 +00:00
Ulrich Drepper
932ba4ee94 Update.
* charmaps/ISO-8859-7: Fix 0xa1 mapping.
1999-11-12 23:31:39 +00:00
Ulrich Drepper
f7a8a904b6 Update.
1999-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* charmaps/ISO-8859-13: Fix a few entries.
	Patch by Marius Gedminas <mgedmin@takas.lt>.
1999-11-12 23:11:22 +00:00
Ulrich Drepper
9df541684a Update.
1999-09-22  Andreas Jaeger  <aj@suse.de>

	* stdio-common/tstscanf.c (main): Add test case from PR libc/1313
	reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
		
1999-09-22  Andreas Schwab  <schwab@suse.de>

	* stdio-common/vfscanf.c: Fix width handling when scanning floats.

1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/Makefile (CFLAGS-multiload.c): Change to allow building in
	the source directory.  Fixes PR libc/1059.
1999-09-22 16:03:46 +00:00
Ulrich Drepper
4a33c2f55e Update.
1999-09-13  Ulrich Drepper  <drepper@cygnus.com>

	* locale/langinfo.h: Remove byte-order dependent names.
	* locale/categories.def: Update after removal of byte-order dependent
	names.
	* locale/loadlocale.c (_nl_load_locale): Don't allow locale files
	with magic number in other byte order.
	* locale/newlocale.c (__newlocale): Remove byte-order dependent code.
	* locale/C-collate.c: Remove initializers for other byte-order.
	* locale/C-ctype.c: Likewise.
	* locale/C-monetary.c: Likewise.
	* locale/C-paper.c: Likewise.
	* locale/C-time.c: Likewise.
	* locale/lc-collate.c: Remove byte-order oriented initialization.
	* locale/lc-ctype.c: Likewise.
	* locale/lc-monetary.c: Likewise.
	* locale/lc-time.c: Likewise.
	* locale/programs/ld-address.c: Don't generate output in both
	byte-orders.
	* locale/programs/ld-ctype.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* time/strftime.c (NLW): Don't use different byte-orders.
	* wctype/cname-lookup.h (cname_lookup): Likewise.

	* Makeconfig (localedir): Define using libdir, not datadir.
	(msgcatdir): New variable.
	* catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
	* elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
	msgcatdir.
	* intl/Makefile (install-others): Install locale.alias in msgcatdir.
	(CPPFLAGS): Define paths using msgcatdir.
	* locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
	* po/Makefile (mo-installed): Define using msgcatdir.

	* sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1999-09-13 09:07:36 +00:00
Ulrich Drepper
52bc074fec Update.
1999-08-31  Andreas Schwab  <schwab@suse.de>

	* locale/C-collate.c: Add missing initialisations.
	* locale/C-ctype.c: Likewise.
1999-08-31 18:42:14 +00:00
Ulrich Drepper
a4f4b72b80 Update.
1999-08-31  Ulrich Drepper  <drepper@cygnus.com>

	* time/strftime.c (my_strftime): Remove unneeded variable len.

	* time/strptime.c: Undo last change.
1999-08-31 07:40:00 +00:00
Ulrich Drepper
c9ade7e27f Update.
* charmaps/ISO-8859-13: Correct typo.
	* charmaps/ISO-8859-14: Likewise.
	* charmaps/ISO-8859-15: Likewise.
1999-08-16 17:09:08 +00:00
Ulrich Drepper
233717f0ac Update.
1999-08-16  Ulrich Drepper  <drepper@cygnus.com>

	* charmaps/CP1258: Remove spurious <percent-sign/> entry.
	* charmaps/IBM866: Likewise.
	* charmaps/IBM874: Likewise.
	* charmaps/ISO-8859-13: Likewise.
	* charmaps/ISO-8859-14: Likewise.
	* charmaps/ISO-8859-15: Likewise.
	* charmaps/MAC-UK: Likewise.
1999-08-16 17:04:22 +00:00
Ulrich Drepper
9c0f26d839 Update.
1999-08-16  Andreas Schwab  <schwab@suse.de>

	* charmaps/UTF8: Add entries for /x00.  Remove spurious
	<percent-sign/> entry.  Correct typo.
1999-08-16 16:53:40 +00:00
Ulrich Drepper
7d7fe004f3 Update.
1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1999-08-15 22:50:39 +00:00
Ulrich Drepper
13ee446d26 Update.
* rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
	* resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
	handling.
	* manual/install.texi (Configuring and compiling): Mention CFLAGS.
1999-08-15 21:14:40 +00:00
Ulrich Drepper
f4b8246c52 Fix typo.
* locales/ca_ES: New file.
1999-08-15 16:10:25 +00:00
Ulrich Drepper
7506cf98e6 Update.
1999-08-15  Ulrich Drepper  <drepper@cygnus.com>

	* localedata/locales/ca_ES: New file.
	Contributed by Joan Carles Soler <Joan.Soler@uv.es>.

	* SUPPORTED: Add ca_ES.
1999-08-15 16:10:09 +00:00
Ulrich Drepper
e69dbc25e7 Update.
1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1999-07-27 07:14:15 +00:00
Ulrich Drepper
7db0da77fe Update.
1999-06-18  H.J. Lu  <hjl@gnu.org>

	* localedata/Makefile (charmaps): Exclude SCCS.
	(locales): Likewise.
	(repertoiremaps): Likewise.

	* sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
	* sysdeps/generic/bsd-setjmp.c: Likewise.
1999-06-18 19:04:23 +00:00
Ulrich Drepper
d64b6ad075 Update.
* Versions.def: Add GLIBC_2.2 for libc.

	* iconv/gconv.h: Make header suitable for inclusion in public header
	by protecting all names with __.
	* iconv/gconv.c: Adapt for symbol name changes.
	* iconv/gconv.h: Likewise.
	* iconv/gconv_builtin.c: Likewise.
	* iconv/gconv_close.c: Likewise.
	* iconv/gconv_db.c: Likewise.
	* iconv/gconv_dl.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/gconv_open.c: Likewise.
	* iconv/gconv_simple.c: Likewise.
	* iconv/iconv.c: Likewise.
	* iconv/iconv_close.c: Likewise.
	* iconv/iconv_open.c: Likewise.
	* iconv/loop.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconvdata/8bit-gap.c: Likewise.
	* iconvdata/8bit-generic.c: Likewise.
	* iconvdata/ansi_x3.110.c: Likewise.
	* iconvdata/big5.c: Likewise.
	* iconvdata/cns11643.h: Likewise.
	* iconvdata/cns11643l1.h: Likewise.
	* iconvdata/euc-cn.c: Likewise.
	* iconvdata/euc-jp.c: Likewise.
	* iconvdata/euc-kr.c: Likewise.
	* iconvdata/euc-tw.c: Likewise.
	* iconvdata/gb2312.h: 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/jis0201.h: Likewise.
	* iconvdata/jis0208.h: Likewise.
	* iconvdata/jis0212.h: Likewise.
	* iconvdata/johab.c: Likewise.
	* iconvdata/ksc5601.h: Likewise.
	* iconvdata/sjis.c: Likewise.
	* iconvdata/t.61.c: Likewise.
	* iconvdata/uhc.c: Likewise.
	* stdlib/mblen.c: Likewise.
	* stdlib/mbtowc.c: Likewise.
	* stdlib/wctomb.c: Likewise.
	* wcsmbs/btowc.c: Likewise.
	* wcsmbs/mbrtowc.c: Likewise.
	* wcsmbs/mbsnrtowcs.c: Likewise.
	* wcsmbs/mbsrtowcs.c: Likewise.
	* wcsmbs/wchar.h: Likewise.
	* wcsmbs/wcrtomb.c: Likewise.
	* wcsmbs/wcsmbsload.c: Likewise.
	* wcsmbs/wcsmbsload.h: Likewise.
	* wcsmbs/wcsnrtombs.c: Likewise.
	* wcsmbs/wcsrtombs.c: Likewise.
	* wcsmbs/wctob.c: Likewise.

	* include/limits.h (MB_LEN_MAX): Increase to 16.

	* sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
	_G_iconv_t.
	* sysdeps/unix/sysv/linux/_G_config.h: Likewise.
	* include/wchar.h: Change mbstate_t to __mbstate_t.

	* libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
	oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
	getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
	iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
	putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
	vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
	and iofwide.
	(tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
	* libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
	_IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
	fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
	fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
	getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
	putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
	vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
	GLIBC_2.2 for libc.
	* libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
	Extend _IO_file contain pointer to codecvt, widedata and mode.
	(_IO_getwc_unlocked): New macro.
	(_IO_putwc_unlocked): New macro.
	(_IO_fwide): New macro.
	* libio/libioP.h: Add new prototypes and adjust existing declarations.
	* libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
	buffers based on mode.
	(new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
	oriented.
	(_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
	flag to be enough to signal unallocated buffer.  For wide oriented
	stream don't make it linebuffered.  Don't use _IO_do_flush, use
	_IO_new_do_write directly.
	(_IO_new_file_seekoff): Change return value type to _IO_off64_t.
	(_IO_file_seek): Likewise.
	* libio/genops.c (_IO_least_marker): Make global.
	(__underflow): Orient stream if not already done.
	(__uflow): Likewise.
	(_IO_default_seekpos): Change to type _IO_off64_t.
	(_IO_default_seekoff): Likewise.
	(_IO_default_seek): Likewise.
	(_IO_no_init): New function.  Similar to _IO_init but allows to orient
	in initialization.
	* libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
	to use _IO_off64_t.
	* libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
	char stream.
	* libio/ftello64.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/iofopncook.c: Likewise.
	* libio/ioseekoff.c: Likewise.
	* libio/ioseekpos.c: Likewise.
	* libio/oldfileops.c: Likewise.
	* libio/iofgetpos.c: Store state of conversion if necessary.
	* libio/iofgetpos64.c: Likewise.
	* libio/iofsetpos.c: Restore conversion state if necessary.
	* libio/iofsetpos64.c: Likewise.
	* libio/iofdopen.c: Initialize so that stream can be wide oriented.
	* libio/iofopen.c: Likewise.
	* libio/iofopen64.c: Likewise.
	* libio/iopopen.c: Likewise.
	* libio/iovdprintf.c: Likewise.
	* libio/iovsprintf.c: Likewise.
	* libio/iovsscanf.c: Likewise.
	* libio/memstream.c: Likewise.
	* libio/obprintf.c: Likewise.
	* libio/iofputs.c: Orient stream if not already happened.
	* libio/iofputs_u.c: Likewise.
	* libio/iofwrite.c: Likewise.
	* libio/iofwrite_u.c: Likewise.
	* libio/ioputs.c: Likewise.
	* libio/iosetbuffer.c: Handle not yet oriented stream.
	* libio/iosetvbuf.c: Likewise.
	* libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
	* libio/stdfiles.c: Likewise.
	* libio/strops.c (_IO_str_overflow): Correctly free buffer after
	failed allocation.
	(_IO_str_seekoff): Use _IO_off64_t.
	* libio/vasprintf.c: Pre-orient stream.
	* libio/vsnprintf.c: Likewise.
	* libio/fputwc.c: New file.
	* libio/fputwc_u.c: New file.
	* libio/fwprintf.c: New file.
	* libio/fwscanf.c: New file.
	* libio/getwc.c: New file.
	* libio/getwc_u.c: New file.
	* libio/getwchar.c: New file.
	* libio/getwchar_u.c: New file.
	* libio/iofgetws.c: New file.
	* libio/iofgetws_u.c: New file.
	* libio/iofputws.c: New file.
	* libio/iofputws_u.c: New file.
	* libio/iofwide.c: New file.
	* libio/iogetwline.c: New file.
	* libio/ioungetwc.c: New file.
	* libio/iovswscanf.c: New file.
	* libio/iowpadn.c: New file.
	* libio/oldiofgetpos.c: New file.
	* libio/oldiofgetpos64.c: New file.
	* libio/oldiofsetpos.c: New file.
	* libio/oldiofsetpos64.c: New file.
	* libio/putwc.c: New file.
	* libio/putwc_u.c: New file.
	* libio/putwchar.c: New file.
	* libio/putwchar_u.c: New file.
	* libio/swprintf.c: New file.
	* libio/swscanf.c: New file.
	* libio/tst_swprintf.c: New file.
	* libio/tst_swscanf.c: New file.
	* libio/tst_wprintf.c: New file.
	* libio/tst_wscanf.c: New file.
	* libio/tst_wscanf.input: New file.
	* libio/vswprintf.c: New file.
	* libio/vwprintf.c: New file.
	* libio/vwscanf.c: New file.
	* libio/wfiledoalloc.c: New file.
	* libio/wfileops.c: New file.
	* libio/wgenops.c: New file.
	* libio/wprintf.c: New file.
	* libio/wscanf.c: New file.
	* libio/wstrops.c: New file.
	* stdio-common/Makefile (routines): Add _itowa, itowa-digits,
	vfwprintf, and vfwscanf.
	* stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
	make global.
	* stdio-common/_itowa.c: New file.
	* stdio-common/_itowa.h: New file.
	* stdio-common/itoa-digits.c: Minimal optimization.
	* stdio-common/itowa-digits.c: New file.
	* stdio-common/printf-parse.h: Allow use in wide character context.
	* stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
	* stdio-common/printf.h (printf_info): Add wide bit.
	* stdio-common/printf_fp.c: Determine from wide bit whether stream
	is wide oriented or not.
	* stdio-common/printf_size.c: Likewise.
	* sysdeps/generic/printf_fphex.c: Likewise.
	* stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
	* stdio-common/vfprintf.c: Rewrite to allow use in wide character
	context.
	* stdio-common/vfscand.c: Likewise.
	* stdio-common/vfwprintf.c: New file.
	* stdio-common/vfwscanf.c: New file.

	* time/Makefile (routines): Add wcsftime.
	(tests): Add tst_wcsftime.
	* time/Versions: Add wcsftime to GLIBC_2.2 for libc.
	* time/strftime.c: Make usable as wcsftime.
	* time/wcsftime.c: New file.
	* time/tst_wcsftime.c: New file.

	* wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
	* wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
	* wcsmbs/wcschrnul.c: New file.
	* wcsmbs/wmemcpy.c: New file.
	* wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
	* wcsmbs/wmemmove.c: Likewise for wmemmove.

	* manual/stdio.texi: Document is_char and wide element if printf_info.

	* manual/time.texi: Document wcsftime.

	* include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
	__wmemmove, __wcschrnul, and __vfwscanf.

	* locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
	* locale/C-time.c: Adapt for above change.
	* locale/categories.def: Likewise.
	* locale/localeinfo.h: Likewise.
	* localedata/Makefile: Don't run tests for now.
1999-06-16 22:55:47 +00:00
Ulrich Drepper
8aba992a60 Update.
1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
	of __P in the rest of glibc; define __MALLOC_PMT and use it.
	Reported by Stephan Kulow <coolo@kde.org>.
1999-05-23 13:02:36 +00:00
Ulrich Drepper
37206c3adc Update.
1999-05-18  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (LOCALEDEF): Add I18NPATH definition to find the
	correct sources.
1999-05-18 11:05:41 +00:00
Ulrich Drepper
bc9ffe71f9 Update.
1999-05-05  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/Makefile (install-others): Create target directory
	before creating tzfiles.
1999-05-05 11:32:24 +00:00
Ulrich Drepper
3d8fa13a14 Update.
1999-05-05  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nis_file.c (readColdStartFile): Allocate memory only after
	the file is opened successfully.

	* nis/nis_table.c: Fix some memory leaks.
1999-05-05 11:04:34 +00:00
Ulrich Drepper
4e9a34c48f Update.
1999-05-03  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1999-05-03 12:41:01 +00:00
Ulrich Drepper
554b880018 Update.
* Makefile (install-locales): Allow specifying charset in locale
	name but omit it in locale definition file.
1999-04-29 15:04:27 +00:00
Ulrich Drepper
49cee6968b Update.
* SUPPORTED: Don't generate ru_SU.
	* locales/ru_SU: Removed.
1999-04-29 14:56:45 +00:00
Ulrich Drepper
619cba73db Update.
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* termios/tcgetsid.c (tcgetsid): Rename variable to
	tiocgsid_does_not_work.
1999-04-29 12:43:25 +00:00
Ulrich Drepper
16b0f634a0 Update.
1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
	This allows e.g. gethostbyname to accept "10.1234".
	Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].

	* nss/test-netdb.c (test_hosts): Add test for gethostbyname and
	non quad IPv4 numbers.

	loaded shared object with all loaded objects.  Initialize l_ino
1999-04-29 12:18:08 +00:00
Ulrich Drepper
7c2b945e1f Update.
* malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
	is != NULL.

1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
	ISO C9x and Unix98.

1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
1999-04-28 10:20:18 +00:00
Ulrich Drepper
925ed47cfb Update.
* libio/iofopncook.c (_IO_cookie_seek): Correct return value.
	Patch by Peter Miller <millerp@canb.auug.org.au>.

1999-04-27  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/pmap_clnt.c: Add own get_myaddress function, which
	  prefers loopback device.

1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
1999-04-28 10:00:35 +00:00
Ulrich Drepper
80127c749b Update.
1999-04-26  Ulrich Drepper  <drepper@cygnus.com>

	* charmaps/SAMI-WS2: Add one more alias.
1999-04-26 16:31:24 +00:00
Ulrich Drepper
4510507b2f Update.
1999-04-17  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/gconv-modules: Rename CP874 to IBM874.
	* iconvdata/Makefile: Likewise.
	* iconvdata/cp874.h: Removed.
	* iconvdata/cp874.c: Renamed to...
	* iconvdata/ibm874.c: ...this.
1999-04-17 00:07:25 +00:00
Ulrich Drepper
8b05795d9d Update.
* charmaps/IBM863: Correct entries 8d, ed, f8, f9, and fa.

	* charmaps/IBM862: Correct entries 9d, 9f, a9, f9, and fa.

	* charmaps/IBM861: Correct entries 9f, a9, f9, and fa.

	* charmaps/IBM860: Correct entries 8b, 9f, a9, f9, and fa.

	* charmaps/IBM857: Correct entries ee, f7, and fa.
1999-04-16 23:13:14 +00:00
Ulrich Drepper
10c384636b Update.
* sysdeps/unix/sysv/linux/bits/types.h: Correct
	signed/unsigned-ness of blkcnt and fsblkcnt.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1999-04-16 17:23:03 +00:00
Ulrich Drepper
1c533de9f3 Update.
* th_TH.in: New file.
1999-04-16 16:08:19 +00:00
Ulrich Drepper
17c7887ba1 Update.
1999-04-16  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
	SOL_AAL, and SOL_IRDA.
1999-04-16 15:51:02 +00:00
Ulrich Drepper
670af0d939 Update.
1999-04-14  H.J. Lu  <hjl@gnu.org>

	* sunrpc/clnt_udp.c (is_network_up): New function.
	(clntudp_call): Call is_network_up () to check if any network
	interface is up in case of timeout.
1999-04-14 23:51:01 +00:00
Ulrich Drepper
ea48e2c4cc Update.
1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wctype/test_wcfuncs.c: New file, tests towlower and towupper.
	* wctype/Makefile (tests): Add test_wcfuncs.
1999-04-14 23:49:40 +00:00
Ulrich Drepper
613ae2c8ee Add support for Ukraine Russian. 1999-04-14 22:56:08 +00:00
Ulrich Drepper
b2900a1342 Update.
1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp-test.c: In field-splitting test cases where
	subshells were involved, unset IFS first: some shells (ash) use
	IFS even when no expansion is performed.
1999-04-12 23:45:52 +00:00
Ulrich Drepper
46f83754e6 Update.
1999-04-10  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile (modules): Add TIS-620.
	(distribute): Add tis-620.c.
	(gen-8bit-gap-modules): tis-620.
	* iconvdata/tis-620.c: New file.
	* iconvdata/gconv-modules: Add TIS-620 entries.

	* iconvdata/asmo_449.c: Correct comment.
1999-04-10 13:30:43 +00:00
Ulrich Drepper
42ec4cabc5 Update.
* iconvdata/cp874.h (to_ucs4): Add Euro sign.
1999-03-31 21:34:37 +00:00
Ulrich Drepper
cb86910298 Update.
* localedata/locales/en_ZA: New file.  Contributed by nic@sig.co.za.
1999-03-31 19:09:21 +00:00
Ulrich Drepper
b81ee75717 Update.
1999-03-31  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/africa: Update from tzdata1999d.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
1999-03-31 18:21:18 +00:00
Ulrich Drepper
9f9914af70 Update.
* iconvdata/testdata/CP1254: Update for charmap changes.
	* iconvdata/testdata/CP1254..UTF8: Likewise.
	* iconvdata/testdata/CP1255: Likewise.
	* iconvdata/testdata/CP1255..UTF8: Likewise.
	* iconvdata/testdata/CP1256: Likewise.
	* iconvdata/testdata/CP1256..UTF8: Likewise.
	* iconvdata/testdata/CP1257: Likewise.
	* iconvdata/testdata/CP1257..UTF8: Likewise.
1999-03-31 17:59:35 +00:00
Ulrich Drepper
9917980353 Update.
1999-03-31  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile (distribute): Remove cp1258.h.
	(gen-8bit-gap-modules): Add cp1258.
	* iconvdata/cp1258.h: Removed.
1999-03-31 10:48:57 +00:00
Ulrich Drepper
a8391579a3 Update.
1999-03-31  Ulrich Drepper  <drepper@cygnus.com>

	* charmaps/CP1257: Add some marks.
	* charmaps/CP1256: Update from Unicode page.
	* charmaps/CP1255: Lots of punctuation character changes.
	* charmaps/CP1254: Add Euro character.  Fix a few lowercase characters.
	* charmaps/CP1253: Add Euro character.
	* charmaps/CP1252: Add Euro character and z caron.
	* charmaps/CP1251: Add Euro character.
	* charmaps/CP1250: Add Euro character.
1999-03-31 00:32:52 +00:00
Andreas Schwab
df455ccb63 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/Makefile: Link against static library if no shared lib is 
available. 
* localedata/Makefile: The shells scripts implementing the test  
require the dynamic linker which is not available with  
--disable-shared.  Skip the test if --disable-shared is given. 
* linuxthreads/Makefile: Link test against static libpthread if no  
shared lib is available. 
* iconvdata/Makefile (tests): Run iconv-test only if we're 
building shared libraries. 
* elf/Makefile (tests): Likewise for elf tests. 
* posix/Makefile: The test frameworks globtest and wordexp-test 
require the dynamic linker which is not available with 
--disable-shared.  Skip the test if --disable-shared is given. 
* grp/Makefile (otherlibs): For static nss build link against 
necessary libs.
	* rt/Makefile: Link against static library if no shared lib is
	available.

	* localedata/Makefile: The shells scripts implementing the test
 	require the dynamic linker which is not available with
 	--disable-shared.  Skip the test if --disable-shared is given.

	* linuxthreads/Makefile: Link test against static libpthread if no 
 	shared lib is available.

	* iconvdata/Makefile (tests): Run iconv-test only if we're
	building shared libraries.
	* elf/Makefile (tests): Likewise for elf tests.

	* posix/Makefile: The test frameworks globtest and wordexp-test
	require the dynamic linker which is not available with
	--disable-shared.  Skip the test if --disable-shared is given.

	* grp/Makefile (otherlibs): For static nss build link against
	necessary libs.

1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999-03-20 17:16:44 +00:00
Ulrich Drepper
d1987d2d19 Update.
1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/libc.texinfo: Undo last change for now.
1999-03-15 10:11:11 +00:00
Ulrich Drepper
b0377551b6 Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* intl/locale.alias: Add entries for Croatian.
	Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1999-03-15 10:09:33 +00:00
Ulrich Drepper
4f7ea42781 Update.
1999-03-08  Ulrich Drepper  <drepper@cygnus.com>

	* locales/ru_RU (mon): Fix March and May month name translations.
	Reported by Vadim V. Zhytnikov <vvzhy@td.lpi.ac.ru>.
1999-03-08 18:11:53 +00:00
Ulrich Drepper
c0cbcb6084 cs_CZ test data for locale tests. 1999-02-27 18:14:22 +00:00
Ulrich Drepper
3f80a33b99 Update.
1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* elf/dlfcn.h: Fix typo.
	* sysdeps/generic/bits/dlfcn.h: Likewise.
	* sysdeps/mips/bits/dlfcn.h: Likewise.
1999-02-16 15:35:52 +00:00
Ulrich Drepper
c29c42b0af Update. 1999-02-11 15:43:52 +00:00
Ulrich Drepper
4d1070f9f7 Fix typos.
* locales/in_ID: New file.
1999-02-11 15:00:20 +00:00
Ulrich Drepper
5ff1a70a0f Update.
1999-02-11  Ulrich Drepper  <drepper@cygnus.com>

	* localedata/locale/in_ID: New file.

1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
	defined.

	* sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
	defined.
1999-02-11 14:59:52 +00:00
Ulrich Drepper
b1418d8f39 Update.
1999-02-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is
	correctly passed to the kernel even on 64bit platforms.
	Patch by Bruce Elliott <bde@nwlink.com>.

	* localedata/locales/it_CH: New file.
	Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>.
1999-02-02 09:26:53 +00:00
Ulrich Drepper
0f6052a803 Update.
* iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197.
	* iconvdata/gconv-modules: Add entries for above charsets.
	* iconvdata/iso-ir-197.c: New file.
	* iconvdata/same-ws2.c: New file.
1999-01-20 16:12:52 +00:00
Ulrich Drepper
85f72e9c2a Update.
1998-12-25  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-hash.h: Move to...
	* sysdeps/generic/dl-hash.h: ...here.  Correct parameter type (must
	be unsigned char).  Remove conditional from inner loop and rearrange
	binary operations (12-22% performance increase).
	* sysdeps/i386/i686/dl-hash.h: New file.  Yet 10% faster than
	optimized generic version.
1998-12-26 09:30:54 +00:00
Ulrich Drepper
361d49e6a4 Update.
* nss/db-Makefile (shadow.db): Create file with correct protections.
	Based on a patch by Joel Klecker <espy@debian.org>.
1998-12-21 12:39:47 +00:00
Ulrich Drepper
d17a729b48 Update.
1998-12-21  Ulrich Drepper  <drepper@cygnus.com>

	* inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
	anyway for digits_dots.c.
	* nss/getXXbyYY.c: Initialize _res before using digits_dots.c
	functions.
	* nss/getXXbyYY_r.c: Likewise.

1998-12-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of 
	fcntl.
 
1998-12-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* locale/weight.h (get_weight): Extract string elements as 
	unsigned values.
1998-12-21 12:25:07 +00:00