Commit Graph

594 Commits

Author SHA1 Message Date
Ulrich Drepper be479a6dfe * charmaps/GB18030: Add Unicode planes 1 (scripts, symbols), 2 (CJK),
14 (tags), 15 and 16 (private use), accidentally removed by the
	2002-01-16 patch.  Replace width table by one which is based on
	Unicode but is biased for CJK.
2002-04-24 21:41:32 +00:00
Ulrich Drepper 0e15c4b6b5 Update.
2002-04-24  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (open_verify): Correct __lseek parameters.
	Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354].

2002-04-23  H.J. Lu  <hjl@gnu.org>

	* include/math.h (isfinite): Fix a typo.

2002-04-24  Ulrich Drepper  <drepper@redhat.com>

	* libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale
	which is created by the test suite.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4.
	(BODY for FROM_LOOP): Fix comparisons between inptr and inend.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f,
	to avoid gcc warning.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask
	of data->__statep->__count.

2002-04-20  Bruno Haible  <bruno@clisp.org>

	* iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode
	tag characters.
	* iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise.

	* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file.
	* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.
2002-04-24 21:09:14 +00:00
Ulrich Drepper 02779eaafe Update.
2002-04-18  Bruno Haible  <bruno@clisp.org>

	* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
	FROM_DIRECTION): Make the FROM direction stateless.
	* iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
	FROM_DIRECTION): Likewise.

	* iconvdata/cvs11643l1.c: Update comments.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2002-04-20 08:14:24 +00:00
Ulrich Drepper a8fa494762 Update.
2002-04-15  H.J. Lu  <hjl@gnu.org>

	* include/math.h (__finitel_internal): Declare only if
	__NO_LONG_DOUBLE_MATH is not defined.
	(__isinfl_internal): Likewise.
	(__isnanl_internal): Likewise.

	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.

	* sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and
	__fcntl_internal.

	* sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added.
	* sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added.
2002-04-19 08:00:18 +00:00
Ulrich Drepper 78575a842b Update.
2002-04-14  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to
	the end of the function.  Pass original flags to recursive call if
	add_dependency failed.
	(_dl_lookup_versioned_symbol): Likewise.

2002-04-13  Jakub Jelinek  <jakub@redhat.com>

	* time/mktime.c (__mktime_internal): If year is 69, don't bail out
	early, but check whether it overflowed afterwards.
	* time/tst-mktime.c (main): Add new tests.

	* debug/xtrace.sh: Fix program name in help message.
	Patch by Roger Luethi <rl@hellgate.ch>.
2002-04-15 06:37:43 +00:00
Ulrich Drepper 6736e93bab Update.
2002-03-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/brk.c (__curbrk): Declare.
	* sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk.
	* sysdeps/generic/dl-sbrk.c: Likewise.
	* sysdeps/unix/arm/dl-brk.S: New file.
	* sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file.
	* sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file.
	* sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file.
	* sysdeps/unix/bsd/vax/dl-brk.S: New file.
	* sysdeps/unix/i386/dl-brk.S: New file.
	* sysdeps/unix/mips/dl-brk.S: New file.
	* sysdeps/unix/sparc/dl-brk.S: New file.
	* sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file.
	* sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file.
	* sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file.
	* sysdeps/unix/sysv/linux/i386/dl-brk.c: Remove.
	* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Remove.

2002-04-03  Andreas Schwab  <schwab@suse.de>

	* Makefile (headers): Add gnu/lib-names.h here instead of
	install-others.
	($(inst_includedir)/gnu/lib-names.h): Remove explicit
	installation rule.
	(install-headers): Add dependency on install-headers-nosubdir.
	* stdio-common/Makefile (headers): Add bits/stdio_lim.h here
	instead of install-others.
	($(inst_includedir)/bits/stdio_lim.h): Remove explicit
	installation rule.

2002-04-05  Ulrich Drepper  <drepper@redhat.com>

	* manual/users.tex (Enable/Disable Setuid): Fix typo in example.
	Reported by Sam Roberts <sroberts@uniserve.com>.

2002-04-03  Jakub Jelinek  <jakub@redhat.com>

	* elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if
	l_addr == 0 and ELF_MACHINE_REL_RELATIVE.
	* sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
	* sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.

2002-04-03  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info.
	(RTLD_START): Ditto.
	(__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW
	dependency violation.
2002-04-06 01:45:15 +00:00
Ulrich Drepper 87c9379402 Update.
2002-04-03  Ulrich Drepper  <drepper@redhat.com>

	* locales/es_ES: Define int_frac_digits and frac_digits as 2.
2002-04-03 18:14:54 +00:00
Ulrich Drepper a3931cbec9 Update.
2002-03-07  Jakub Jelinek  <jakub@redhat.com>

	* time/tst-posixtz.c (tests): Add new tests.
	(main): Test whether tzset() sets daylight properly.

2002-03-06  Jakub Jelinek  <jakub@redhat.com>

	* time/tzset.c (tz_compute): Move __daylight, __tzname and
	__tzname_cur_max setting...
	(tzset_internal): ...here.

2002-03-06  Jakub Jelinek  <jakub@redhat.com>

	* time/tzset.c (compute_change): Don't return any value.
	(tz_compute): Likewise.  Don't handle southern hemisphere here.
	(__tz_convert): But here.
2002-03-12 07:50:21 +00:00
Ulrich Drepper 90a77d0a95 Update.
* tst-fmon.data: Likewise.
2002-03-01 05:22:17 +00:00
Ulrich Drepper 0d01dace55 Update.
2002-02-28  Jakub Jelinek  <jakub@redhat.com>

	* elf/rtld.c (_rtld_global): Remove .protected.
	(_rtld_local): Strong alias to _rtld_global.
	* elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld
	only .os object.
	* sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use
	_rtld_local instead of _rtld_global.
	(_rtld_local): Add hidden extern, possibly in .sdata section.
	* configure.in: Add tests for visibility attribute and .sdata.
	* config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
	* sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global.
	* sysdeps/arm/dl-machine.h: Likewise.
	* sysdeps/generic/ldsodefs.h: Likewise.
	* sysdeps/hppa/dl-machine.h: Likewise.
	* sysdeps/cris/dl-machine.h: Likewise.
	* sysdeps/i386/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/m68k/dl-machine.h: Likewise.
	* sysdeps/mips/mips64/dl-machine.h: Likewise.
	* sysdeps/mips/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
	* sysdeps/sh/dl-machine.h: Likewise.
	* sysdeps/s390/s390-32/dl-machine.h: Likewise.
	* sysdeps/s390/s390-64/dl-machine.h: Likewise.
	* sysdeps/x86_64/dl-machine.h: Likewise.
2002-02-28 22:38:00 +00:00
Ulrich Drepper 896167225e Update.
2002-02-28  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-4217.def: Remove obsolete currencies for countries
	with Euro.
2002-02-28 09:13:09 +00:00
Ulrich Drepper f4eb901eb5 Update.
2002-02-28  Ulrich Drepper  <drepper@redhat.com>

	* locales/br_FR@euro: New file.
2002-02-28 08:54:14 +00:00
Ulrich Drepper 6370466d5a Update.
* locale/iso-639.def: Add language codes for Walloon.
2002-02-23 19:38:02 +00:00
Ulrich Drepper 9836cfe7db Update.
* elf/dl-fini.c (_dl_fini): Print some final statistics on the
	total number of relocations performed.
2002-02-23 19:05:32 +00:00
Ulrich Drepper 736ab899c4 Update.
* po/da.po: Update from translation team.

	* locale/categories.def: Fix typo [PR libc/2948].
	* po/Makefile (BROKEN_LINGUAS): Works with current gettext
	[PR libc/2949].
	* locale/iso-4217.def: Update from official version [PR libc/2950].
	* glibcbug.in: Honor TMPDIR [PR libc/2951].
	* locale/programs/ld-collate.c (collate_finish): Bail out with a
	message if input is too confusion instead of using assert.
	(collate_read): Don't crash on unknown symbol [PR libc/2952].
	Patches by Alastair McKinstry <alastair@pdd.3com.com>.
2002-02-14 01:02:42 +00:00
Ulrich Drepper bf1097cb3b Update.
2002-02-13  Ulrich Drepper  <drepper@redhat.com>

	* locales/pl_PL: Update int_curr_symbol.
2002-02-13 22:50:48 +00:00
Ulrich Drepper 2a535bf6a0 Update.
2002-02-08  Richard Henderson  <rth@twiddle.net>
	* sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.
2002-02-09 01:59:10 +00:00
Ulrich Drepper 9c1084a380 Update.
2002-01-18  Isamu Hasegawa  <isamu@yamato.ibm.com>

	* locale/program/ld-collate.c (collate_finish): Assign a wide
	char collation sequence value to multi character collating
	elements, and avoid over writing by non-character elements.
2002-02-01 21:08:09 +00:00
Ulrich Drepper b750d5e7a1 Update.
2002-01-16  Roger Sayle  <roger@eyesopen.com>

	* stdlib/msort.c (msort_with_tmp): Replace implementation with
	more efficient "Towers of Hanoi" mergesort.
	(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
	for generic, sizeof(int) and sizeof(long) variants respectively.

	* manial/syslog.texi (openlog): Describe possible problems with
	first parameter.
	Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
2002-01-18 06:26:02 +00:00
Ulrich Drepper 067c6a6d8c Update.
2002-01-16  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/gb18030.c: Bug fixes and support for more characters.
	Patch by Yu Shao <yshao@redhat.com>.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
	* sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
	* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/fpu/libm-test-ulps: Update.
2002-01-17 06:35:42 +00:00
Ulrich Drepper abd336891b Update.
2002-01-06  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/elf/pt-initfini.c: New file.

2001-12-12  NIIBE Yutaka  <gniibe@m17n.org>
2002-01-07 23:08:16 +00:00
Ulrich Drepper 961d4a2eb2 Update.
2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
	* sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
	remove high order bit from the program counter.
	* sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
	unnecessary code and add missing reloc types.
	* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
	case for reloc type R_390_NONE.
2001-12-29 01:02:17 +00:00
Ulrich Drepper c17f665ba8 Update.
2001-12-11  Ulrich Drepper  <drepper@redhat.com>

	* SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.
2001-12-12 05:49:48 +00:00
Ulrich Drepper 870a4e1253 Update.
2001-12-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/glob.c (glob): Return only pattern if nothing
	matches and GLOB_NOCHECK is set.
	* posix/globtest.sh: Correct expected result for NOCHECK test.

	* po/ca.po: Update from translation team.
2001-12-10 12:21:07 +00:00
Ulrich Drepper 79a4920be3 Update.
2001-12-10  Ulrich Drepper  <drepper@redhat.com>

	* locales/ca_ES: Fix typos (desembre -> decembre).
	Patch by Xavi Drudis Ferran <xdrudis@tinet.org>.
2001-12-10 11:35:38 +00:00
Ulrich Drepper 47e8b4439d Update.
2001-12-09  Ulrich Drepper  <drepper@redhat.com>

	Implement transliteration of characters in strings of the locale
	definitions.
	* locale/programs/linereader.c: Adjust for additional parameter to
	lr_token.
	(get_string): If character <Uxxxx> is not found try to transliterate
	it.
	* locale/programs/ld-ctype.c: Adjust for additional parameter to
	lr_token.  Add const to charmap parameter of all functions.
	(find_translit, find_translit2): New functions.
	* locale/programs/charmap.c: Adjust for additional parameter to
	lr_token.
	* locale/programs/repertoire.c: Likewise.
	* locale/programs/linereader.h: Likewise.
	* locale/programs/ld-address.c: Likewise.  Add const to charmap
	parameter of all functions.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/ld-identification.c: Likewise.
	* locale/programs/ld-measurement.c: Likewise.
	* locale/programs/ld-messages.c: Likewise.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-name.c: Likewise.
	* locale/programs/ld-numeric.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-telephone.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* locale/programs/locfile.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* locale/programs/localedef.h: Likewise.
	* locale/programs/locfile.h: Likewise.  Add declaration for
	find_translit.
	* locale/programs/simple-hash.c: Add const to first parameter of
	find_entry, iterate_table, and lookup.
	* locale/programs/simple-hash.h: Likewise.
	* locale/localeinfo.h: Don't define __LC_LAST here.  Include <locale.h>
	instead.
	* include/locale.h: Define __LC_LAST.
	* iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
2001-12-10 01:37:56 +00:00
Ulrich Drepper fa13c459a1 Update.
* locales/bg_BG: Rewrite.
	Patch by Alexander Shopov <al_shopov@web.bg>.
2001-12-05 22:32:52 +00:00
Ulrich Drepper 350b053ae9 Update.
2001-12-05  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add TCVN5712-1.
	* iconvdata/TESTS: Add TCVN5712-1.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/tcvn5712-1.c: New file.
	* iconvdata/testdata/TCVN5712-1: New file.
	* iconvdata/testdata/TCVN5712-1..UTF8: New file.
2001-12-05 10:11:07 +00:00
Ulrich Drepper 715e158fc7 Update.
2001-12-03  Ulrich Drepper  <drepper@redhat.com>

	* locales/translit_neutral: Define transliteration for dong sign.
2001-12-04 00:02:32 +00:00
Ulrich Drepper 120aad5443 Update.
* version.h (RELEASE): Define as development.
	(VERSION): Set to 2.2.90.

2001-11-22  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nss_compat/compat-grp.c: Print group id as unsigned long.
	* nis/nss_nis/nis-grp.c: Likewise.
	* nis/nss_nisplus/nisplus-grp.c: Likewise.

	* nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
	* nis/nss_nis/nis-pwd.c: Likewise.
	* nis/nss_nisplus/nisplus-pwd.c: Likewise.

	* nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
	* nis/nss_nisplus/nisplus-parser.c: Likewise.
	* nis/nss_nisplus/nisplus-publickey.c: Likewise.

	* nscd/grpcache.c: Use strtoul instead of atol.
	* nscd/pwdcache.c: Likewise.
	* nss/getent.c: Likewise.

2001-11-27  Paul Eggert  <eggert@twinsun.com>

	* sysdeps/posix/tempname.c (__gen_tempname): Try at least
	ATTEMPTS_MIN or TMP_MAX times, whichever is greater.

2001-11-19  Bruno Haible  <bruno@clisp.org>

	* locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
	90%.
	(compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
	improves the quality of the hash function, especially for short
	strings.

2001-11-26  Ulrich Drepper  <drepper@redhat.com>
2001-11-27 04:07:09 +00:00
Ulrich Drepper 5d6c813948 Update.
2001-11-26  Ulrich Drepper  <drepper@redhat.com>

	* locales/de_CH: Define decimal point to '.' and thousands
	separator to ' '.  Patch by Niklaus Giger <ngiger@mus.ch>.
2001-11-27 03:52:15 +00:00
Ulrich Drepper 8e9b2075ba Update.
2001-11-21  Bruno Haible  <bruno@clisp.org>

	* charmaps/ISO-8859-16: Swap 0xa5 and 0xab entries.
2001-11-27 03:47:06 +00:00
Ulrich Drepper 5ff4a0aa78 Update.
2001-11-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
2001-11-16 01:43:09 +00:00
Ulrich Drepper 1f5649f86b Update.
2001-10-14  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
	to generate hexadecimal identifier.
	Patch by Jungshik Shin <jungshik.shin@yale.edu>.

2001-10-09  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.

2001-10-14  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ieee754/ldbl-128/e_powl.c: New file.
	* sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
	Contributed by Stephen L Moshier <moshier@mediaone.net>.

	* sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
	* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
	* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise

	* timezone/africa: Update from tzdata2001d.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/leapseconds: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.

2001-10-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
	* sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
2001-10-14 22:33:08 +00:00
Ulrich Drepper c47e78b10f Update.
2001-09-29  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
	Add sc_loadrs and sc_rbs_bas to match current kernel.

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.

	* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).

2001-09-27  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
	object has been bumped because of relocation dependency, avoid
	duplicates in l_scope.
	(show_scope): Fix typos.
	* elf/Makefile: Add rules to build and run reldep6.
	* elf/reldep6.c: New file.
	* elf/reldep6mod0.c: New file.
	* elf/reldep6mod1.c: New file.
	* elf/reldep6mod2.c: New file.
	* elf/reldep6mod3.c: New file.
	* elf/reldep6mod4.c: New file.

2001-09-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
	sparc64_fixup_plt.
	(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
	near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
	for non-lazy binding. Fix .plt[32768+] handling.
	(elf_machine_plt_value): Don't add addend.
	(elf_machine_rela): Call sparc64_fixup_plt instead of
	elf_machine_fixup_plt.
	(elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
	dynamic linker at 0xfffff800XXXXXXXX.

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
2001-10-01 00:14:14 +00:00
Ulrich Drepper 89f29a0742 Update.
* locale/duplocale.c (__duplocale): Also initialize the special
	__ctype_* elements.
2001-08-18 02:46:36 +00:00
Ulrich Drepper ecad39f050 Update.
2001-08-14  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Add rules to build and run tst-xlocale1.
	* tst-xlocale1.c: New file.

	* bug-iconv-trans.c: Improve error messages.
2001-08-14 22:29:43 +00:00
Ulrich Drepper 74a50d9c46 Update.
2001-08-12  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
	* iconvdata/iso-ir-209.c: New file.
	* iconvdata/mac-sami.c: New file.
	* iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
	* iconvdata/tst-tables.sh: Likewise.

	* posix/getopt.c: Remove store_args_and_env which is not needed since
	USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
	__libc_argv variables.

	Now returns pointer to first character after "LD_".
2001-08-13 06:27:35 +00:00
Andreas Jaeger d4459f83de Revert last patch, Ulrich will fix the failing script to use de_DE.UTF-8. 2001-08-09 17:15:56 +00:00
Andreas Jaeger a5271e2197 (LOCALES): Generate en_US.UTF-8 locale.
2001-08-09  Andreas Jaeger  <aj@suse.de>

	* Makefile (LOCALES): Generate en_US.UTF-8 locale.
2001-08-09 13:08:08 +00:00
Ulrich Drepper 6906cea4cc Update.
2001-08-04  Ulrich Drepper  <drepper@redhat.com>

	* libio/genops.c (_IO_unbuffer_write): Force streams in narrow
	orientation so that conversion modules aren't used anymore.
	* malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
	functions to avoid using wide streams afterwards.

	* iconvdata/Makefile: Add rules to build GEORGIAN-PS and
	GEORGIAN-ACADEMY.
	* iconvdata/georgian-ps.c: New file.
	* iconvdata/georgian-academy.c: New file.
	* iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
	GEORGIAN-ACADEMY.
	* iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.
2001-08-04 08:05:56 +00:00
Ulrich Drepper 5af3245a41 Update.
2001-08-03  Tom Rix  <trix@redhat.com>

	* config.h.in: Add HAVE_XCOFF for AIX.
	* configure.in: Add --with-xcoff option.
	* include/libc-symbols.h: Disable the .stabs macros.
2001-08-03 23:04:10 +00:00
Ulrich Drepper b9583166c0 Update.
* iconvdata/tst-tables.sh: Add KOI8-T.
2001-08-03 19:27:19 +00:00
Ulrich Drepper fe25bb96fc Update.
* iconvdata/Makefile: Add rules to build KOI8-T module.
	* iconvdata/koi8-t.c: New file.
	* iconvdata/gconv-modules: Add entries for KOI8-T.
2001-08-03 18:44:28 +00:00
Ulrich Drepper d38be29739 Update.
* locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
	Add Tigrinya.
2001-08-03 09:13:17 +00:00
Ulrich Drepper 73331cbf3c Update.
2001-07-31  Ulrich Drepper  <drepper@redhat.com>

	* locales/tr_TR: Define missing fields and remove FIXME comments.
	Patch by Nilg~n Belma Bug~ner <nilgun@fide.org>.
2001-07-31 23:30:26 +00:00
Ulrich Drepper 976cf26954 Update.
* locales/en_CA (LC_PAPER): Change to Letter.
	* locales/fr_CA (LC_PAPER): Likewise.
2001-07-19 15:04:23 +00:00
Ulrich Drepper fc265c25dd Update.
2001-07-19  Jakub Jelinek  <jakub@redhat.com>

	* locales/es_PR (LC_PAPER): Change to Letter.
	(LC_MEASUREMENT): Change to 2.
	* locales/es_US (LC_PAPER): Change to Letter.
	(LC_MEASUREMENT): Change to 2.
2001-07-19 14:37:30 +00:00
Ulrich Drepper a2a89dd6ce Update.
* include/libc-symbols.h: Provide more dummy definitions for the
	case if GNU ld isn't used.
2001-07-08 06:23:55 +00:00
Ulrich Drepper f7364247e7 Update.
2001-06-28  Ulrich Drepper  <drepper@redhat.com>

	* manual/argp.texi: Tons of cleanups.
	Patch by Clifford U. Smith <cuel@swbell.net>.
2001-06-29 01:19:02 +00:00
Ulrich Drepper 7bcad28063 Update.
2001-06-27  Ulrich Drepper  <drepper@redhat.com>

	* posix/tst-regex.c: Fix several bugs.  Add more tests.
2001-06-27 07:59:20 +00:00
Ulrich Drepper 1574022402 * locales/ro_RO (day): Use U0163 instead of U021B.
2001-06-25  Jakub Jelinek  <jakub@redhat.com>
2001-06-26 04:28:54 +00:00
Ulrich Drepper d8f00d4669 Update.
2001-06-22  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (regex_compile, re_match_2_internal): Fix comment
	typos.

2001-06-01  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
	ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
	when malloc_atfork is in use.
2001-06-26 03:14:04 +00:00
Ulrich Drepper aa64639e6f Update.
2001-06-09  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/BIG5-HKSCS: Renamed from charmaps/BIG5HKSCS.  Change
	code_set_name to BIG5-HKSCS. Add BIG5HKSCS alias.

	* charmaps/SHIFT_JIS: Renamed from charmaps/SJIS.  Change code_set_name
2001-06-17 23:03:59 +00:00
Ulrich Drepper 3076f3d1ff Update.
2001-05-26  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/SHIFT_JIS: Renamed from charmaps/SJIS. Change code_set_name
	to SHIFT_JIS. Add SJIS as alias.
	* Makefile (CHARMAPS): For SJIS locale, use SHIFT_JIS charmap.
	* gen-locale.sh: Likewise.
2001-06-17 22:44:18 +00:00
Ulrich Drepper 582e776ffc Update.
* charmaps/GB18030: Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use
	full Hangul syllable names. Add Unicode planes 1 (scripts, symbols),
	2 (CJK), 14 (tags), 15 and 16 (private use). Update width table.
	Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2001-06-09 23:12:08 +00:00
Ulrich Drepper 601d294296 Update.
2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
	* iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
	UNICODE_TAG_HANDLER.
	(__gconv_transform_internal_ucs2): Likewise.
	(__gconv_transform_internal_ucs2reverse): Likewise.
	* iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
	* iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
	* iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/johab.c (BODY for TO_LOOP): Likewise.
	* iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
	* iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
	* iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
	* iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
	TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
	TAG_language_zh, CURRENT_TAG_MASK): New enum values.
	(EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
	is already selected but set2 or tag are set.
	(conversion): New enum type.
	(cvlist_t): New type.
	(CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
	(conversion_lists): New array.
	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
	prefer conversion to Japanese character sets. If "zh", prefer
	conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
	optimizations.
	(INIT_PARAMS): Add tag.
	(UPDATE_PARAMS): Add tag.

2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/locfile.c (write_locale_data): Before creat(),
	unlink the file, to avoid crashing the processes that mmap it.  Change
	a double slash to a single slash.  Free fname in case of error return.

2001-06-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
	changes, do the special handling for denormal numbers, not for
	normalized numbers (patch by <trevin@xmission.com>).

	* math/test-misc.c (main): Test frexpl with denormal arguments.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (llround_test): Add two new llround tests.
	* sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
	overflow when rounding away from zero.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
	* math/math_private.h (__ieee754_log2, __ieee754_log2f,
	__ieee754_log2l): New prototypes.
	* sysdeps/generic/w_log2.c: New file.
	* sysdeps/generic/w_log2f.c: New file.
	* sysdeps/generic/w_log2l.c: New file.
	* sysdeps/generic/s_log2l.c: Move...
	* sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
	and log2(x < 0).
	* sysdeps/i386/fpu/s_log2.S: Move...
	* sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/i386/fpu/s_log2f.S: Move...
	* sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/i386/fpu/s_log2l.S: Move...
	* sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/m68k/fpu/s_log2.S: Move...
	* sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/s_log2f.S: Move...
	* sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/s_log2l.S: Move...
	* sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/dbl-64/s_log2.c: Move...
	* sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
	__ieee754_log2.
	* sysdeps/ieee754/flt-32/s_log2f.c: Move...
	* sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
	__ieee754_log2f.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
	even arguments which result in denormalized exp2 are accepted.
	(__exp2): Arguments equal to u_threshold already result into
	underflow.
	* sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
	* sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
	* sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
	low, with corrected lowmark use greaterequal, not greater.
	* sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
	* sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
	* sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
	* sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
	* sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
	* sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
	* sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
	gave non-finite result instead of using constant in generic
	version.
	* sysdeps/generic/w_coshf.c (__coshf): Likewise.
	* sysdeps/generic/w_cosh.c (__cosh): Likewise.
	* sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
	(__exp10): Test if finite argument gave non-finite result.
	* sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
	Likewise.
	* sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
	Likewise.
2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
	overflow threshold constant (log(LDBL_MAX)+M_LN2l).

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (idx_table): New struct type.
	(idx_table_init, idx_table_get, idx_table_add): New functions.
	(MAX_CHARNAMES_IDX): Remove macro.
	(locale_ctype_t): Change type of charnames_idx field.
	(ctype_startup): Change initialization of charnames_idx field.
	(find_idx): Use idx_table_get and idx_table_add for speed.

	* locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
	computation of characters in a range.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
	<U03F5>.
	(__ucs_to_gb18030_tab1): Likewise.
	(BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
	(BODY for TO_LOOP): Likewise.
	* iconvdata/tst-table-charmap.sh: Update for charmaps containing
	<U00xxxxxx> syntax.
	* iconvdata/tst-table-from.c (bmp_only): New variable.
	(utf8_decode): If bmp_only, don't return characters outside Unicode
	plane 0.
	(main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
	a conversion line if utf8_decode returns NULL.
	* iconvdata/tst-table-to.c (main): When testing encodings other than
	UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
	instead of UCS-2 as input.
	* iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
	of the charmap.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/cns11643l1.c: Update to Unicode 3.1.
	(__cns11643l1_to_ucs4_tab): Regenerated.
	(__cns11643l1_from_ucs4_tab12): Regenerated.
	* iconvdata/cns11643.c: Update to Unicode 3.1.
	(__cns11643l14_to_ucs4_tab): Remove array.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
	(__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
	(__cns11643_from_ucs4p2_tab): New array.
	* iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
	(cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
	(__cns11643_from_ucs4_tab): Remove declaration.
	(__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
	declarations.
	(ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
	U+20000..U+2A6D6.
	* iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
	declaration.
	(__cns11643_from_ucs4p0_tab): New declaration.
	(ucs4_to_cns11643l2): Update for new arrays.
	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
	3 to 7.
	(BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
	* iconvdata/EUC-TW.irreversible: New file.
	* iconvdata/tst-table.sh: Use it.
	* iconvdata/Makefile (distribute): Add CP1255.irreversible,
	CP1258.irreversible, EUC-TW.irreversible.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Add transliterations for new Unicode 3.1
	mathematical symbols.
2001-06-06 12:55:46 +00:00
Ulrich Drepper b912ca1144 Update.
2001-05-25  Bruce Mitchener  <bruce@cubik.org>

	* manual/ctype.texi: Minor fix.
	* manual/install.texi: Likewise.
	* manual/startup.texi: Likewise.
	* manual/examples/dir.c: Use perror() rather than puts().

2001-05-25  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
	#endif directive inside a comment to avoid compiler warnings.

2001-05-25  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_print.c (nis_nstype2str): Don't mark names of
	naming services for translation, only UNKNOWN needs it.
	Add comment to prevent it for the future.

2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
	3.1 and non-GCC C99 compilers.
2001-05-27 07:05:32 +00:00
Ulrich Drepper e017830580 Update.
2001-05-21  Bruno Haible  <haible@clisp.cons.org>

	* wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
	use 0 instead, and rely on the converter to do the flush.
	* wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
	utf8_test.
	(utf8_test_2, utf8_test_3): New function.
	(utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2001-05-23 00:08:46 +00:00
Andreas Jaeger 9c3bb910f2 * locales/ms_MY: Fix entries for Tue and Wednesday.
Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
2001-05-14  Andreas Jaeger  <aj@suse.de>

	* locales/ms_MY: Fix entries for Tue and Wednesday.
	Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
2001-05-14 08:05:09 +00:00
Ulrich Drepper 71e1637e40 Update.
2001-04-18  Jakub Jelinek  <jakub@redhat.com>

	* locales/be_BY: Fix syntax in LC_COLLATE section.
	* locales/ru_UA: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
2001-04-18 14:45:36 +00:00
Ulrich Drepper b28dcd8e13 Update.
2001-03-17  H.J. Lu  <hjl@gnu.org>

	* manual/Makefile (install): Use $(INSTALL_DATA) instead of
	cp to install `dir'.
2001-03-19 01:38:11 +00:00
Ulrich Drepper b716cb4e68 Update.
* configure.in: Don't check for libgd if user set --without-gd.
	* string/Makefile (tests): Add tst-strtok.
2001-02-21 16:16:27 +00:00
Ulrich Drepper 4c48dc9386 Update.
2001-02-18  Mark Kettenis  <kettenis@gnu.org>

	* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
	(mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.

2001-02-17  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
	scratch registers across the system call.
2001-02-19 18:55:39 +00:00
Ulrich Drepper 78b385b834 Update.
2001-02-16  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-address.c (address_finish): Add 'S' to allow
	formats for postal_fmt.

2001-02-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
	__ftruncate64 alias.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
	Likewise.

2001-02-15  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
	do "loadrs".  Writing to bspstore already takes care of
	invalidating the "clean" partition.
2001-02-16 18:40:30 +00:00
Ulrich Drepper 2d0aea11b0 Update.
2001-02-15  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (init_syntax_once): Add prototype.
	(TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
	(re_search_2): Avoid warning.
	(count_mbs_length): Add prototype.
	* posix/tst-regex3.c: New file.
	* posix/Makefile (tests): Add bug-regex3.
2001-02-15 22:27:29 +00:00
Ulrich Drepper 36874b2165 Update.
* time/sys/time.h: Make settimeofday and adjtime available if
	_BSD_SOURCE.

	* time/sys/time.h: Make timer* macros available for BSD.
2001-02-14 22:55:40 +00:00
Ulrich Drepper be8c46fcef Update.
* locale/programs/ld-paper.c (paper_output): Pretty printing.

	* sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
	* sysdeps/generic/utmp_file.c: Use LFS functions and types.
2001-02-14 01:37:36 +00:00
Andreas Jaeger ec76d7284c * locales/en_IN: Add newline at end of file.
* SUPPORTED: Add more entries.
2001-02-09  Andreas Jaeger  <aj@suse.de>

	* locales/en_IN: Add newline at end of file.

	* SUPPORTED: Add more entries.
2001-02-09 18:56:06 +00:00
Ulrich Drepper 257bdad021 Update.
2001-02-09  Ulrich Drepper  <drepper@redhat.com>

	* libio/tst_wscanf.c (main): Add cast to avoid warning.
	* libio/tst_swscanf.c (main): Likewise..
2001-02-09 17:57:28 +00:00
Andreas Jaeger dfcb962a8e Add some entries for new locales.
2001-02-08  Andreas Jaeger  <aj@suse.de>

	* localedata/SUPPORTED: Add some entries for new locales.

2001-02-07  Andreas Jaeger  <aj@suse.de>

	* locales/ar_IN: New.
	* locales/bn_IN: New.
	* locales/el_GR@euro: New.
	* locales/en_HK: New.
	* locales/en_IN: New.
	* locales/en_PH: New.
	* locales/en_SG: New.
	* locales/ms_MY: New.
	* locales/ta_IN: New.
	* locales/te_IN: New.
	* locales/zh_SG: New.
2001-02-08 07:31:56 +00:00
Ulrich Drepper fdc6c28a80 Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/locale.c (write_locales): Use scandir to read
	directory so that the entries are sorted.
2001-02-06 18:56:47 +00:00
Ulrich Drepper 216c13860d Update.
2001-02-05  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
	variable to uint32_t.
	Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2001-02-06 07:09:01 +00:00
Ulrich Drepper c7fb46a94e Update.
2001-01-30  Yong Li  <yong.li@asu.edu>

	* iconv/gconv_open.c (__gconv_open): Fix the variable used to
	set result->__data[cnt].__flags.
	* iconv/iconv_prog.c (main): Correct error handling method name.
2001-01-31 07:00:50 +00:00
Ulrich Drepper 45ef592db2 Update.
* configure.in: Comment out binutils version test.
2001-01-24 22:56:53 +00:00
Ulrich Drepper df152cc80e Update.
* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
	results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
	* stdlib/tst-rand48.c: New file.
	* stdlib/Makefile (tests): Add tst-rand48.
2001-01-20 04:33:16 +00:00
Ulrich Drepper 2090dd7364 Update.
* sysdeps/generic/segfault.c (install_handler): Check output file
	name with access().
2001-01-08 18:06:26 +00:00
Andreas Jaeger 4e6bc1f61c (main): Use return instead of exit to avoid warning.
2000-12-31  Andreas Jaeger  <aj@suse.de>

	* tst-fmon.c (main): Use return instead of exit to avoid warning.
2000-12-31 16:56:02 +00:00
Ulrich Drepper 912f97da3d Update.
2000-12-21  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
	Make sign_exponent element signed.

	* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
	Fix a typo.

	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-12-21 23:42:32 +00:00
Ulrich Drepper 76aecea11d Update.
* iconvdata/SJIS.irreversible: Remove unnecessary entries.
	* iconvdata/EUC-JP.irreversible: Remove unnecessary entries.

	* iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
	* iconvdata/jis0208.c: Likewise.
	* iconvdata/jis0212.c: Likewise.
	Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2000-12-04 00:11:40 +00:00
Ulrich Drepper 411adb1068 Update.
2000-11-29  H.J. Lu  <hjl@gnu.org>

	* stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.

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

	* locale/setlocale.c (setname): Free for all categories, not just
	LC_ALL.
	(setlocale): Store a copy of string passed by user, not the string
	itself.

	* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2000-12-01 00:43:32 +00:00
Ulrich Drepper 271469ae6c Update.
2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>

	* iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
	(distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
	and ibm1129.h.
	* iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
	IBM1129.
	* iconvdata/ibm922.c: New file.
	* iconvdata/ibm922.h: New file.
	* iconvdata/ibm1124.c: New file.
	* iconvdata/ibm1124.h: New file.
	* iconvdata/ibm1129.c: New file.
	* iconvdata/ibm1129.h: New file.
	* iconvdata/testdata/IBM922: New file.
	* iconvdata/testdata/IBM922..UTF8: New file.
	* iconvdata/testdata/IBM1124: New file.
	* iconvdata/testdata/IBM1124..UTF8: New file.
	* iconvdata/testdata/IBM1129: New file.
	* iconvdata/testdata/IBM1129..UTF8: New file.
2000-11-28 14:11:52 +00:00
Ulrich Drepper d64a397a54 Update.
2000-11-23  Ulrich Drepper  <drepper@redhat.com>

	* tst-digits.c (main): Add casts to avoid warnings.
	* collate-test.c (xstrcoll): Make l1 and l2 const.
	* xfrm-test.c (xstrcmp): Make l1 and l2 const.
2000-11-23 19:41:48 +00:00
Ulrich Drepper 6cc7d725db Update.
2000-11-20  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add --enable-all-warnings.
	* config.make.in (all-warnings): New variable.
	* Makeconfig (+gccwarn): Define with many more warnings if
	all-warnings is yes.
2000-11-20 22:13:20 +00:00
Ulrich Drepper 111bb972b2 Update.
2000-11-15  Ulrich Drepper  <drepper@redhat.com>

	* intl/Makefile: tst-gettext2.sh does not need a third parameter.

	* intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
	output of program.

	* intl/tst-gettext2.c: Set C locale if setting other locale
	failed.  Use gettext() not _().

	* locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
	successfully loaded a new locale.

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

	* configure.in: Require gcc 2.95 or newer.

2000-11-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
	Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.

2000-11-11  Jim Meyering  <meyering@lucent.com>

	* string/strndup.c (strndup): Cast return value to `char *'.

2000-11-15  Jim Meyering  <meyering@ascend.com>

	* sysdeps/generic/memchr.c: Remove some useless parentheses.
	[HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
	[HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
	[! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
	Also #undef __memchr.
	Use `weak_alias' only if it's defined.

2000-11-10  H.J. Lu  <hjl@gnu.org>

	* Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2000-11-15 23:56:34 +00:00
Ulrich Drepper 53e5cdd844 Update.
2000-11-09  Ulrich Drepper  <drepper@redhat.com>

	* version.h (VERSION): Bump to 2.2.
	(RELEASE): Set to stable.

	* posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
	source directory.
2000-11-09 19:22:09 +00:00
Ulrich Drepper d3d99893ee Update.
* catgets/gencat.c (main): Don't use exit() to avoid warnings with
	broken compilers.

	* include/features.h (__STDC_ISO_10646__): Correct value to be
	200009L.  Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.

2000-11-08  H.J. Lu  <hjl@gnu.org>

	* pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.

2000-11-08  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are
	defined, not _HAVE_STRING_ARCH_.
	* sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/sparc/bits/string.h: New file.

2000-11-08  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Tweak <U2014> result.
	* locale/C-translit.h: Regenerated.

2000-11-08  Ulrich Drepper  <drepper@redhat.com>

	* posix/unistd.h: Add attribute((const)) to sysconf prototype.
2000-11-08 21:20:06 +00:00
Ulrich Drepper a1e88b9a2f Update.
2000-11-08  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc.
	(BODY from direction): Remove special handling of \x5c.
	* iconvdata/EUC-KR.irreversible: Adjust for this change.
	* iconvdata/testdata/EUC-KR..UTF8: Likewise.
	Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
2000-11-08 08:08:09 +00:00
Ulrich Drepper 1324affa18 * charmaps/BIG5: Add mapping for <U20AC> back.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2000-11-07 00:26:45 +00:00
Ulrich Drepper 17b16ef060 Update.
2000-11-03  Bruno Haible  <haible@clisp.cons.org>

	* locales/translit_neutral: Add more entries.  Mostly from Markus Kuhn.
	* locales/translit_compat: Add a few ligatures.
	* locales/translit_combining: Add a few plain ASCII alternatives.
	* locales/translit_fraction: Likewise.  Surround with spaces.
2000-11-07 00:05:01 +00:00
Ulrich Drepper de153e7f50 Update.
* stdio-common/Makefile (tests): Add tst-fmemopen.
	* stdio-common/tst-fmemopen.c: New file.
	Test case by Ben Collins <bcollins@debian.org>.

	* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.

	* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
	(fmemopen_write): Set errno at end of buffer.
2000-10-31 05:20:53 +00:00
Ulrich Drepper c6042c732e Update.
2000-10-29  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/big5.c: Update.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

	* iconvdata/Makefile (distribute): Add BIG5.irreversible.
	* iconvdata/BIG5.irreversible: New file.
2000-10-30 05:19:41 +00:00
Ulrich Drepper da2a3ca6e2 Update.
2000-10-29  Greg Louis  <glouis@dynamicro.on.ca>

	* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
	Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
	doesn't define __restrict_arr.

	* manual/search.texi: Correct description if VISIT values.
	Patch by Ben Collins <bcollins@debian.org>.
2000-10-30 04:18:33 +00:00
Ulrich Drepper 6d5503b16a Update.
2000-10-27  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add VISCII.
	(gen-8bit-modules): Add viscii.
	* iconvdata/viscii.c: New file.
	* iconvdata/gconv-modules: Add entries for VISCII.
	* iconvdata/tst-tables.sh: Add VISCII.
2000-10-27 21:07:08 +00:00
Ulrich Drepper ad5419628d Update.
2000-10-27  Bruno Haible  <haible@clisp.cons.org>

	* locales/sr_YU@cyrillic: New file. Based on a locale file by
	Anton Zinoviev <anton@lml.bas.bg>.
	* SUPPORTED: Add sr_YU@cyrillic.

2000-10-27  Bruno Haible  <haible@clisp.cons.org>

	* locales/ar_SA: Use Unicode aware LC_CTYPE information from "i18n".
	* locales/be_BY: Likewise.
	* locales/bg_BG: Likewise.
	* locales/el_GR: Likewise.
	* locales/ja_JP: Likewise.
	* locales/ko_KR: Likewise.
	* locales/mk_MK: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/zh_CN: Likewise.
	* tests-mbwc/dat_iswalnum.c: Update for changed character properties
	in the ja_JP.EUC-JP locale.
	* tests-mbwc/dat_iswalpha.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswgraph.c: Likewise.
	* tests-mbwc/dat_iswprint.c: Likewise.
	* tests-mbwc/dat_iswpunct.c: Likewise.
2000-10-27 19:35:07 +00:00
Ulrich Drepper 5ab7f7c12a Update.
* inet/getipnodebyad.c: Removed.
	* inet/getipnodebynm.c: Removed.
	* inet/tst-ipnode.c: Removed.
	* inet/freehostent.c: Removed.

	* sysdeps/unix/bsd/osf/=dirstream.h: Removed.

	* sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.

	* elf/Makefile (distribute): Add neededobj4.c.

	* iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.

	* sysdeps/hppa/Dist: New file.
	* sysdeps/unix/sysv/linux/hppa/Dist: New file.
2000-10-27 06:51:12 +00:00
Ulrich Drepper 44b6044680 Update.
* locale/langinfo.h (THOUSEP): Define this and don't duplicate
	definition of THOUSANDS_SEP.
2000-10-27 00:02:26 +00:00
Ulrich Drepper 5be068fc15 Update.
2000-10-26  Ulrich Drepper  <drepper@redhat.com>

	* locales/fa_IR: Fix many problems and change to use UTF-8.
	Patch by Roozbeh Pournader <roozbeh@sharif.edu>.
	* SUPPORTED: Add fa_IR.UTF-8.
2000-10-26 17:17:13 +00:00
Ulrich Drepper fd6650707a Update.
2000-10-22  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
	for 0x8BF8, 0xA27E..0xA2A7.
	* iconvdata/BIG5HKSCS.irreversible: New file.

2000-10-23  Jakub Jelinek  <jakub@redhat.com>

	* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
	* timezone/zic.c (main): Likewise.

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

	* nscd/connections.c (invalidate_cache): Don't invalidate a cache
	if it is not enabled.
2000-10-23 17:11:35 +00:00
Ulrich Drepper aab0963999 Update.
2000-10-19  Ulrich Drepper  <drepper@redhat.com>

	* locales/iso14651_t1: Handle Macedonian correctly.
	Patch by Damjan <arhiv@freemail.org.mk>.
2000-10-20 06:16:38 +00:00
Ulrich Drepper 19e89d15a1 Update.
2000-10-06  Ulrich Drepper  <drepper@redhat.com>

	* locales/iso14651_t1: Add currency symbols.
2000-10-06 20:11:06 +00:00
Ulrich Drepper 619166175d Update.
* tests-mbwc/dat_iswctype.c: Full width 9 is not a digit in ja_JP.
	* tests-mbwc/dat_iswdigit.c: Likewise.

	Add full width digits to alnum class.
2000-10-05 02:53:05 +00:00
Ulrich Drepper f00f95d188 Update.
* locales/zh_CN: Remove non-ASCII digit entry.
	* locales/ja_JP: Likewise.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* gen-unicode-ctype.c (is_digit, is_xdigit): Remove all non-ASCII
	digits.
	(is_alpha): Add them here.
	* locales/i18n (digit): Remove all non-ASCII digits.
	(alpha): Add them here.

	* dump-ctype.c: Pretty print.

2000-10-04  Ulrich Drepper  <drepper@redhat.com>
2000-10-05 02:01:22 +00:00
Ulrich Drepper 84ca314775 Update.
* iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
2000-10-05 00:05:29 +00:00
Ulrich Drepper a94f9b3899 Update.
2000-10-03  Ulrich Drepper  <drepper@redhat.com>

	* tst-langinfo.sh: Adjust for change in ja_JP.
2000-10-03 19:46:23 +00:00
Ulrich Drepper e6ea9c0dd0 Update.
2000-10-02  Jakub Jelinek  <jakub@redhat.com>

	* elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
	optimized.

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
2000-10-03 07:37:02 +00:00
Ulrich Drepper 73fb7bf092 Update.
2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/charmap-dir.h: New file.
	* locale/programs/charmap-dir.c: New file.
	* locale/programs/linereader.h (lr_create): New declaration.
	* locale/programs/linereader.c (lr_create): New function, split out
	from lr_open.
	(lr_open): Tailcall lr_create.
	* locale/programs/locale.c: Include "charmap-dir.h". Don't include
	<unistd.h>.
	(xstrdup): New declaration.
	(more_help): Use xstrdup instead of strdup.
	(write_locales): Likewise. When encountering a symbolic link, call
	stat.
	(write_charmaps): Simplify using the charmap-dir.h functions.
	Use xstrdup instead of strdup.
	* locale/programs/charmap.c: Include "charmap-dir.h". Don't include
	<dirent.h> and <unistd.h>.
	(cmlr_open): New function.
	(charmap_read): Use cmlr_open instead of lr_open. Simplify using the
	charmap-dir.h functions.
	* locale/Makefile (distribute): Add charmap-dir.h.
	(lib-modules): Add charmap-dir.
	(CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
	wants a 'char **', not a 'const char **'.
	* include/spawn.h: New file.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* posix/spawn_faction_init.c: Include "spawn_int.h".
	(__posix_spawn_file_actions_realloc): Fix second realloc argument.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
	(internal_wcwidth): Remove the tests for L'\0' and iswprint.
	* locale/programs/ld-ctype.c (find_idx): If max == NULL, return
	a pointer to the table entry, without extending the table.
	(allocate_arrays): Set a width only for characters with 'print'
	property. Set the width of L'\0' to 0.
	* locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
	for unprintable characters.  Set entry of NUL to 0.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/charmap.c (charmap_read): Avoid redundant tests.
	Don't forget to call closedir when the filename was found as a
	code_set_name.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
	type to 'void *'.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
	level2, and level3 as well.
	(wctype_table_add): Remove a few unnecessary conditionals.

2000-09-30  Ralf Baechle  <ralf@gnu.org>

	* wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.

2000-09-30  H.J. Lu  <hjl@gnu.org>
2000-10-01 19:54:15 +00:00
Ulrich Drepper 3e07621988 Update.
2000-10-01  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/BIG5: Add a width table.
	* charmaps/GB18030: Likewise.
	* charmaps/ISO-8859-6: Likewise.
	* charmaps/ISO-8859-8: Likewise.
	* charmaps/TIS-620: Likewise.
2000-10-01 19:15:29 +00:00
Ulrich Drepper d77cd295eb Update.
* Makefile (repertoiremaps): Remove variable.
	(distribute): Remove repertoiremaps.
	(install-others): Likewise. Add .gz to charmaps.
	($(inst_i18ndir)/charmaps/%): Install in gzipped format.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 19:08:30 +00:00
Ulrich Drepper 4a9dcff10e Update.
* charmaps/ISO-IR-197: Remove alias "none".

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 18:59:42 +00:00
Ulrich Drepper 70440f48d8 Update.
* charmaps/UTF-8: Add the correct Hangul syllable names.  Change the
	width of format control characters to 0.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 18:51:15 +00:00
Ulrich Drepper d6040f1781 Update.
2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* tests-mbwc/tst_wcscmp.c (tst_wcscmp): Take the sign of ret.
	* tests-mbwc/dat_wcscmp.c (tst_wcscmp_loc): Don't expect precise
	return values.  Only the sign matters.
2000-10-01 18:47:09 +00:00
Ulrich Drepper a0386a0da3 Update.
2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
	define it for powerpc for kernel >= 2.4.0.
	* sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
	__ASSUME_32BITUIDS.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
	* sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.

2000-09-28  Martin Schwidefsksy    <schwidefsky@de.ibm.com>

	* sysdeps/s390/atomicity.h: Fix compare_and_swap.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h
	(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.

2000-09-28  Denis Joseph Barrow     <djbarrow@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
	ucontext.h.
	* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.

2000-09-27  Andreas Schwab  <schwab@suse.de>

	* math/Makefile (distribute): Explicitly add the long double test
	sources, to get them included even if long double is not supported.

2000-09-27  Jes Sorensen  <jes@linuxcare.com>

	* elf/soinit.c (struct object): Move definition to gccframe.h and
	include it.  Problem identified by HJ Lu.

	* sysdeps/ia64/gccframe.h: New file.  ia64 specific version of
	struct object to be searched for frame unwind info.
	* sysdeps/generic/gccframe.h: New file.  Generic version of
	struct object to be searched for frame unwind info.

2000-09-28  Ulrich Drepper  <drepper@redhat.com>

	* manual/errno.texi: Correct error text for ENXIO.
	Reported by Jrg Schilling <schilling@fokus.gmd.de>.

2000-09-27  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
	exception status bits rather than the exception disable bits.
	Don't include math.h.

	* sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
	status of exceptions currently raised rather than which exceptions
	are enabled.

	* sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
	rather than unsigned long int.

	* sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
	the exceptions actually requested by the caller and not just
	disable all exceptions.

	* sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
	the ia64 are enabled by clearing the respective bits in the fpsr,
	not setting them.

	* sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
	unsigned long int rather than unsigned long to be consistent with
	the coding conventions.

2000-09-20  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
	unsigned long int.
	* sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.

2000-09-28  Ulrich Drepper  <drepper@redhat.com>

	* string/bits/string2.h: Unify #if usage.

2000-09-27  Jakub Jelinek  <jakub@redhat.com>

	* math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
	and disabling underflow or overflow, disable inexact as well.

	* sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
2000-09-28 23:32:48 +00:00
Ulrich Drepper 75dbc100bf Update.
2000-09-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
2000-09-27 00:14:27 +00:00
Ulrich Drepper 5f2de3379c Update.
* elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
2000-09-26 05:50:51 +00:00
Ulrich Drepper 6c163862c4 Update.
2000-09-25  Ulrich Drepper  <drepper@redhat.com>

	* locale/Makefile (routines): Add nl_langinfo_l.
	* locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
	* locale/nl_langinfo_l.c: New file.
2000-09-26 04:48:25 +00:00
Ulrich Drepper 0b95971d92 Update.
2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
	(__gbk_to_ucs): Conditionalize private area mappings.
	(__gbk_from_ucs4_tab9): Likewise.
	(BODY for TO_LOOP): Likewise.
	* iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
	* iconvdata/testdata/GBK..UTF-8: Likewise.
	* iconvdata/tst-tables.sh: Enable GBK test.

2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
	(__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
	(BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
	array access.
	* iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
	* iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.

2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/johab.c (final_to_ucs): Fix typos.
	(jamo_from_ucs_table): Likewise.
	(BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
	0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
	(BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
	the range 0xD9E6..0xD9FE.
	* iconvdata/tst-tables.sh: Enable JOHAB testing.
2000-09-26 00:05:52 +00:00
Ulrich Drepper a2aa7df3d6 Update.
* charmaps/GBK: Add commented mappings for GBK characters not yet in
	Unicode.

2000-09-23  Bruno Haible  <haible@clisp.cons.org>
2000-09-25 21:37:47 +00:00
Ulrich Drepper fbb1f75f1e Update.
2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/GBK: Remove /x80 entry.
2000-09-25 21:26:44 +00:00
Ulrich Drepper 079e46f04b Update.
2000-09-25  Ulrich Drepper  <drepper@redhat.com>

	* SUPPORTED: Remove ko_KR.JOHAB.  We don't want to encourage people
	to use it.

2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/JOHAB: Add identity mapping for 0x7f.
2000-09-25 21:17:32 +00:00
Ulrich Drepper d2a99fa303 Update.
2000-09-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
	(BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
	characters.
	* iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
	as equivalent to uppercase hexadecimal digits.

2000-09-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/testdata/EUC-KR..UTF8: New file.
	* iconvdata/testdata/EUC-TW: New file.
	* iconvdata/testdata/EUC-TW..UTF8: New file.
	* iconvdata/testdata/EUC-JP: New file.
	* iconvdata/testdata/EUC-JP..UTF8: New file.
	* iconvdata/testdata/ISO-2022-JP: New file.
	* iconvdata/testdata/ISO-2022-JP..UTF8: New file.
	* iconvdata/testdata/ISO-2022-JP-2: New file.
	* iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
	* iconvdata/testdata/ISO-2022-KR: Add a few more lines.
	* iconvdata/testdata/ISO-2022-KR..UTF8: New file.
	* iconvdata/testdata/ISO-2022-CN: New file.
	* iconvdata/testdata/ISO-2022-CN..UTF8: New file.
	* iconvdata/testdata/ISO-2022-CN-EXT: New file.
	* iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
	* iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
	ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.

	(add_single_dir): New function.
	* elf/ldconfig.c (search_dir): Make more use of d_type information.
2000-09-24 19:45:34 +00:00
Ulrich Drepper 88b981108a Update.
2000-09-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
	(BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
	characters.
	* iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
	as equivalent to uppercase hexadecimal digits.

2000-09-20  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/testdata/EUC-KR..UTF8: New file.
	* iconvdata/testdata/EUC-TW: New file.
	* iconvdata/testdata/EUC-TW..UTF8: New file.
	* iconvdata/testdata/EUC-JP: New file.
	* iconvdata/testdata/EUC-JP..UTF8: New file.
	* iconvdata/testdata/ISO-2022-JP: New file.
	* iconvdata/testdata/ISO-2022-JP..UTF8: New file.
	* iconvdata/testdata/ISO-2022-JP-2: New file.
	* iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
	* iconvdata/testdata/ISO-2022-KR: Add a few more lines.
	* iconvdata/testdata/ISO-2022-KR..UTF8: New file.
	* iconvdata/testdata/ISO-2022-CN: New file.
	* iconvdata/testdata/ISO-2022-CN..UTF8: New file.
	* iconvdata/testdata/ISO-2022-CN-EXT: New file.
	* iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
	* iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
	ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
2000-09-24 19:39:41 +00:00
Ulrich Drepper 582db94e65 Update.
2000-09-24  Ulrich Drepper  <drepper@redhat.com>

	* locales/en_GB: Update LC_PAPER and LC_MEASUREMENT information.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-24 19:02:13 +00:00
Ulrich Drepper e9985459eb Update.
2000-09-14  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
	to not use sysctl().  Too many architectures have problems with it.
2000-09-14 20:43:43 +00:00
Ulrich Drepper 07146b0ee0 Update.
2000-09-13  Ulrich Drepper  <drepper@redhat.com>

	* localedata/locales/ar_AE: Remove extra <U0020> from day and abday.
	* localedata/locales/ar_BH: Likewise.
	* localedata/locales/ar_DZ: Likewise.
	* localedata/locales/ar_EG: Likewise.
	* localedata/locales/ar_IQ: Likewise.
	* localedata/locales/ar_JO: Likewise.
	* localedata/locales/ar_KW: Likewise.
	* localedata/locales/ar_LB: Likewise.
	* localedata/locales/ar_LY: Likewise.
	* localedata/locales/ar_MA: Likewise.
	* localedata/locales/ar_OM: Likewise.
	* localedata/locales/ar_QA: Likewise.
	* localedata/locales/ar_SD: Likewise.
	* localedata/locales/ar_SY: Likewise.
	* localedata/locales/ar_TN: Likewise.
	* localedata/locales/ar_YE: Likewise.
2000-09-13 18:55:28 +00:00
Ulrich Drepper 71e1dcd132 Update.
* SUPPORTED: Add mr_IN.UTF-8 and mt_MT.ISO-8859-3.
	* locales/mr_IN: New file.
	* locales/mt_MT: New file.
2000-09-13 02:08:39 +00:00
Ulrich Drepper 25159a8556 Update.
2000-09-01  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
	__syscall_getdents64 wrapper.

	* sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2000-09-12 23:11:49 +00:00
Ulrich Drepper d170066550 Update.
2000-09-11  Ulrich Drepper  <drepper@redhat.com>

	* iconv/skeleton.c: Fix last patch, add missing parameter to
	unaligned function call.
2000-09-11 22:44:49 +00:00
Ulrich Drepper d0e1a1221d Update.
* charmaps/GB18030: Update once more.
2000-09-09 06:32:46 +00:00
Ulrich Drepper 861f40287a Update.
2000-09-08  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/JOHAB: New file.
	* SUPPORTED: Add ko_KR.JOHAB.
2000-09-08 08:10:08 +00:00
Ulrich Drepper 1edd1b142b Update.
* iconvdata/tst-tables.sh: Enable EUC-KR test.
2000-09-08 06:34:32 +00:00
Ulrich Drepper c743652a38 Update.
2000-09-04  Andreas Schwab  <schwab@suse.de>

	* elf/Makefile (all-dl-routines): New variable.
	(elide-routines.os): Use it instead of $(dl-routines).
	(all-rtld-routines): New variable.
	(extra-objs): Use it instead of $(rtld-routines).
	($(objpfx)dl-allobjs.os): Likewise.
	* sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
	sysdep-dl-routines and sysdep_routines instead of rtld-routines
	and dl-routines.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
	Set fname to NULL if the module wasn't found.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
	true if trans->name already ends in ".so".

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_int.h (__gconv_release_shlib): Change return type to
	void.
	* iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
	below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
	(__gconv_release_shlib): Change return type to void.
	* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
	step->__counter here.
	* iconv/gconv_db.c (free_derivation): Don't call a step's destructor
	if the reference is zero.
	(release_step): New function.
	(gen_steps): Always initialize the __counter to 1. Use release_step.
	Don't call the destructor on the step whose initializer failed.
	(increment_counter): Use release_step. Don't normally run destructors
	here.
	(__gconv_close_transform): Use release_step.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
	(__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
	If the first byte is 0x8E, don't ask for 4 bytes until it has been
	verified that the second byte is valid. Leave it to cns11643_to_ucs4
	to check for incomplete input.
	* iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
	ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
	__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
	(ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
	0x9f9d..0x9fa5.
	* iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
	__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
	(ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
	* iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
	upto index 0x0052.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_db.c (find_derivation): Always use the least-cost
	solution.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
	are invalid.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
	* iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
	U+007E.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/tst-tables.sh: New file.
	* iconvdata/tst-table.sh: New file.
	* iconvdata/tst-table-from.c: New file.
	* iconvdata/tst-table-to.c: New file.
	* iconvdata/tst-table-charmap.sh: New file.
	* iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
	(distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
	tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
	ISIRI-3342.irreversible, SJIS.irreversible.
	(tests): Add dependency on tst-tables.out.
	(tst-tables.out, tst-tables-clean): New rules.
	(do-tests-clean, common-mostlyclean): Require tst-tables-clean.
	* iconvdata/ISIRI-3342.irreversible: New file.
	* iconvdata/EUC-JP.irreversible: New file.
	* iconvdata/SJIS.irreversible: New file.

2000-09-04  Ulrich Drepper  <drepper@redhat.com>

	* manual/locale.texi (General Numeric): Update description of
	representation of the grouping information in the locale data.
	Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.

	Reported by Rob Levin <lilo@transvirtual.com>.
2000-09-05 02:51:27 +00:00
Ulrich Drepper b79f74cd62 Update.
2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/EUC-TW: Add commented non-reversible mappings.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/CP949: New file.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/GB2312: Remove 0x80..0xA0, 0xAA..0xAF, 0xF8..FF.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/EUC-JP: Nonreversibly map 0xA1C0 to U+005C and 0x8FA2B7 to
	U+007E.
2000-09-05 02:41:25 +00:00
Ulrich Drepper 6fab0fd3cd Update.
* iconvdata/big5hkscs.c: Regenerated from charmap.
	* iconvdata/testdata/BIG5HKSCS: Regenerated.
	* iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2000-09-02 04:45:14 +00:00
Ulrich Drepper c6cc2207a5 Update.
2000-09-01  Ulrich Drepper  <drepper@redhat.com>

	* libio/fmemopen.c (fmemopen_seek): Add default case in switch
	statement.  General cleanup.
2000-09-01 21:16:28 +00:00
Ulrich Drepper aebb1faa19 Update.
* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
	patch (_mode -> _flags).
2000-09-01 17:49:19 +00:00
Ulrich Drepper 7921bb7220 Update. 2000-09-01 04:25:51 +00:00
Ulrich Drepper f998fd64eb Update.
* SUPPORTED: Add zh_HK.BIG5HKSCS.

	* locales/zh_HK: Correct d_t_fmt and t_fmt_ampm.
	Changes by Roger So <spacehunt@e-fever.org>.
2000-09-01 04:14:40 +00:00
Ulrich Drepper 736dda8c7f Update.
* intl/locale.alias: Add aliases for bomal and nynorsk.

	* locale/iso-639.def: Fix 639-1 code for Bokmal.
2000-08-31 18:37:58 +00:00
Ulrich Drepper 47cae281a4 Update.
* iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
	official file.
	* iconvdata/TESTS: Add BIG5HKSCS entry.
	* iconvdata/testdata/BIG5HKSCS: New file.
	* iconvdata/testdata/BIG5HKSCS..UTF8: New file.

	* iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
	always true.
2000-08-30 07:38:10 +00:00
Ulrich Drepper e4d1a04a3c Update.
* locales/ja_JP: Add yesstr and nostr information.
2000-08-30 02:34:17 +00:00
Ulrich Drepper 34e55074c4 Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/GB18030: Add entries from GBK not present here.

	* SUPPORTED: Add zh_TW.EUC-JP and zh_CN.GB18030.

	* locales/iso14651_t1: Use hexadecimal ellipsis in <HAN> script.
2000-08-30 00:02:38 +00:00
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 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
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 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 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 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 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 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 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 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
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 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 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
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 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 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 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 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 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 394679ebe7 Update.
* elf/Makefile (LDFLAGS-origtest): Actually add it.
2000-06-30 18:11:39 +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 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 a0e5d73a78 Update.
* stdio-common/tst-printf.c: Add test for above problem.
2000-06-29 19:35:32 +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 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
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
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 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
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
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
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 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 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 f21c71e19e Update.
* locales/i18n: NUL character must not be in cntrl.
2000-06-26 23:38:07 +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 7508aab40a Update-
* locales/i18n: Take CJK ideographs and Hangul out of `alpha' table.
2000-06-25 18:23:21 +00:00