Commit Graph

4430 Commits

Author SHA1 Message Date
Ulrich Drepper 755104edc7 Update.
2000-09-18  Ulrich Drepper  <drepper@redhat.com>

	* version.h (VERSION): Bump to 2.1.94.

	* malloc/mtrace.c (mtrace): Mark stream as close on exec.

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

	* iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
	range 0xD800..0xDFFF.
	* iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
	(BODY for FROM_LOOP): Likewise.
	* iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
	(internal_ucs2_loop): Likewise.
	(ucs2reverse_internal_loop): Likewise.
	(internal_ucs2reverse_loop): Likewise.

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

	* iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
	names.

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

	* iconvdata/tst-table-from.c (main): Fix test for error on stdout.
	* iconvdata/tst-table-to.c (main): Likewise.

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

	* iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
	__isoir165_tab.
	* iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
	* iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
	(GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
	CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
	(BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
	Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
	(BODY for TO_LOOP): Fix usage of `set' vs. `used'.  Fix typo that
	caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
	plane 3.  Fix shift sequences. Output announcement for SS2 and SS3
	encodings when needed.  When outputting an announcement, don't clear
	most other announcements.

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

	* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
	(BODY for TO_LOOP): Fix usage of `set' vs. `used'.

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

	* intl/Versions: Add bind_textdomain_codeset.
2000-09-18 22:41:47 +00:00
Andreas Jaeger 65f1c9ef2e Update.
2000-09-16  Ralf Baechle  <ralf@gnu.org>

	* sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat.  Declare
	as function.
	(_RTLD_EPILOGUE): Reformat.  Declare size of entry function.
	(ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
	it will even work when not loaded to the standard address.
	(RTLD_START): Reformat.  Call _dl_start in a way that is safe even
	before the dynamic linker itself is relocated.

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

	* sysdeps/unix/sysv/linux/kernel-features.h: Always define
	__ASSUME_32BITUIDS for MIPS.
	* sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
2000-09-18 16:41:55 +00:00
Ulrich Drepper 8719e0fd50 Update.
2000-09-17  H.J. Lu  <hjl@gnu.org>

	* catgets/Makefile ($(objpfx)de/libc.cat): Use
	$(make-target-directory) instead of mkdir.

2000-09-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Always define
	__ASSUME_32BITUIDS for __powerpc__.
	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.

	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2000-09-18 00:43:17 +00:00
Ulrich Drepper 7530e8f828 Update.
2000-09-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Fix last
	patch.
2000-09-17 19:56:45 +00:00
Ulrich Drepper 7ad9abc031 Update.
2000-09-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
	first.
	* sysdeps/m68k/Implies: Likewise.
	* sysdeps/sparc/sparc64/Implies: Likewise.

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

	* elf/readlib.c (process_file): Don't error for stale .so links either.

	* elf/dl-load.c (_dl_map_object_from_fd): Add one more
	__builtin_expect.
2000-09-16 23:00:38 +00:00
Ulrich Drepper 392a923998 Update.
* include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
	Patch by Thorsten Kukuk <kukuk@suse.de>.
2000-09-16 17:51:14 +00:00
Ulrich Drepper 3fe4001526 Update.
2000-09-16  Ulrich Drepper  <drepper@redhat.com>

	* dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
	(test): Add default.
	(modules-names): Add defaultmod1 and defaultmod2.
	Add rules to build test objects.
2000-09-16 09:08:30 +00:00
Ulrich Drepper fe4901403f Update.
* wctype/wctype.h: Always include <bits/types.h>.
	Reported by Jim Meyering <meyering@ascend.com>.
2000-09-16 05:39:35 +00:00
Ulrich Drepper 8a0e201e33 Update.
* elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
	* elf/dl-support.c: Likewise.

	necessary.  Move includes of POSIX and Unix limits files to the end.
2000-09-16 05:22:26 +00:00
Ulrich Drepper d3d934d81c Update.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
	st_blocks member in stat and stat64 structs.
	Patch by Bill Nottingham <notting@redhat.com>.
2000-09-16 03:49:43 +00:00
Ulrich Drepper 8bd6a35210 Update.
Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-16 02:27:07 +00:00
Ulrich Drepper bfc27ea433 Update.
* iconvdata/tst-tables.sh: Add warning that GB18030 test might
	take longer.
2000-09-16 02:13:58 +00:00
Ulrich Drepper 5985c77210 Update.
* math/complex.h: Don't define _Complex macro for gcc 3.  Add
	__extension__ to _Complex_I definition since gcc warns if -pedantic.
	* math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
2000-09-16 01:39:48 +00:00
Ulrich Drepper 8ae6700978 Update.
2000-09-15  Ulrich Drepper  <drepper@redhat.com>

	* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
	necessary.  Move includes of POSIX and Unix limits files to the
	end.
	* stdlib/Makefile (tests): Add tst-limits.
	* stdlib/tst-limits.h: New file.
2000-09-16 01:34:02 +00:00
Andreas Jaeger 70514a9f51 Update.
2000-09-15  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.

	* sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
2000-09-15 18:16:18 +00:00
Ulrich Drepper 2f43efaaf2 Update.
2000-09-15  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
	clobber.
	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
2000-09-15 17:50:21 +00:00
Ulrich Drepper 917fd06163 Update.
2000-09-15  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
	(tests): Add next.
	(modules-names): Add nextmod1 and nextmod2.
	Add rules to build and run next.
	* elf/next.c: New file.
	* elf/nextmod1.c: New file.
	* elf/nextmod2.c: New file.

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

	* elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
2000-09-15 17:35:04 +00:00
Andreas Jaeger 1ca62d4093 Update.
* sysdeps/mips/fpu/fenv_libc.h: New file.
	* sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
	* sysdeps/mips/fpu/fegetexcept.c: Likewise.
	* sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
2000-09-15 12:59:07 +00:00
Andreas Jaeger e091e14537 Update.
2000-09-15  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/fpu/feenablxcpt.c: New file.
	* sysdeps/mips/fpu/fegetexcept.c: New file.
	* sysdeps/mips/fpu/fedisblxcpt.c: New file.
2000-09-15 12:25:35 +00:00
Ulrich Drepper f3791a0513 It's an US keyboard...
* intl/Makefile: Avoid unnecessary test reruns.
2000-09-14 23:32:06 +00:00
Ulrich Drepper 6baa336877 Update.
* intl/Makefile: Avoid unnecessarz test reruns.
2000-09-14 23:30:59 +00:00
Ulrich Drepper 3a265b0410 Update.
* sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
	copyright notice.
	* sysdeps/generic/bp-semctl.h: Likewise.
	* sysdeps/generic/bp-start.h: Likewise.
	* sysdeps/generic/bp-sym.h: Likewise.
	* sysdeps/generic/bp-thunks.h: Likewise.  Include <stdio.h> to get
	rename prototype.
2000-09-14 22:55:50 +00:00
Ulrich Drepper 2a82441b16 Update.
* stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
2000-09-14 22:42:29 +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
Andreas Jaeger 1d3f0563c9 Update.
* scripts/config.sub: New version from subversions.gnu.org.
2000-09-14 14:50:12 +00:00
Andreas Jaeger 9cef5c8f22 Update.
2000-09-14  Andreas Jaeger  <aj@suse.de>

	* time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
	long.
2000-09-14 09:41:59 +00:00
Ulrich Drepper 5e20fde1cf Update.
2000-09-14  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (compile_range): Cast collseq index to unsigned char
	to avoid accessing data before collseq.

	* sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
	pasting strings together.
2000-09-14 08:30:26 +00:00
Greg McGary 7ca5d0dcb3 * bp-checks.h: Remove bogus reference to GNU MP in copyright notice.
* bp-semctl.h: Likewise. 
* bp-start.h: Likewise. 
* bp-sym.h: Likewise. 
* bp-thunks.h: Likewise.  Include <stdio.h> to get rename prototype.
2000-09-14  Greg McGary  <greg@mcgary.org>

	* bp-checks.h: Remove bogus reference to GNU MP in copyright notice.
	* bp-semctl.h: Likewise.
	* bp-start.h: Likewise.
	* bp-sym.h: Likewise.
	* bp-thunks.h: Likewise.  Include <stdio.h> to get rename prototype.
2000-09-14 07:30:28 +00:00
Ulrich Drepper 56b2223e32 Update.
* io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
	don't fail.
2000-09-14 06:44:19 +00:00
Ulrich Drepper 09022115c1 Update.
* elf/elf.h: Add missing official relocations.
2000-09-14 02:57:10 +00:00
Ulrich Drepper d164630900 Update.
* libio/stdio.h: Define __FILE if __need___FILE is defined.
	* stdio/stdio.h: Likewise.
	* wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
	* include/stdio.h: Handle __need___FILE like __need_FILE.
	* include/wchar.h: Use __FILE instead of FILE.
	* libio/fwprintf.c: Include <stdio.h> for FILE definition.
	* libio/fwscanf.c: Likewise.
	* libio/getwc.c: Likewise.

	* sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
	* sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
	* sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.

	* assert/assert.h: Update comment header about ISO C section.
	* math/complex.h: Likewise.
	* ctype/ctype.h: Likewise.
	* include/errno.h: Likewise.
	* include/limits.h: Likewise.
	* locale/locale.h: Likewise.
	* math/math.h: Likewise.
	* setjmp/setjmp.h: Likewise.
	* signal/signal.h: Likewise.
	* stdio/stdio.h: Likewise.
	* libio/stdio.h: Likewise.
	* stdlib/stdlib.h: Likewise.
	* string/string.h: Likewise.
	* time/time.h: Likewise.
	* wcsmbs/wchar.h: Likewise.
	* wctype/wctype.h: Likewise.
	Patches by Joseph S. Myers <jsm28@cam.ac.uk>.

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

	* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
	for no more entries.
	* sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
	Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.

2000-09-13  Ulrich Drepper  <drepper@redhat.com>
2000-09-14 01:43:19 +00:00
Ulrich Drepper d817a43892 Update.
* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
	constant since this is what clock_t is.
	* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
2000-09-13 21:48:46 +00:00
Ulrich Drepper 6340ea91d4 Update.
2000-09-13  Ulrich Drepper  <drepper@redhat.com>

	* time/time.h: Don't defined clockid_t and timer_t unless POSIX
	definitions are requested.
2000-09-13 21:41:10 +00:00
Andreas Jaeger 56f77c8b96 * shlib-versions: libBrokenLocale needs minimal version for ia64,
sparc64 and sh to synch with libc.
2000-09-13  Andreas Jaeger  <aj@suse.de>

	* shlib-versions: libBrokenLocale needs minimal version for ia64,
	sparc64 and sh to synch with libc.
2000-09-13 17:26:22 +00:00
Ulrich Drepper c0d99958f9 Update.
* iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
	(distribute): Add iso-2022-cn-ext.c.
	Add definitions to compile the new module.
	* iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
	* iconvdata/iso-2022-cn-ext.c: New file.
	* iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
	ucs4_from_isoir165.  Increment input pointer if successful.
2000-09-13 09:12:02 +00:00
Ulrich Drepper 875fc78301 Update.
* csu/Makefile: Work around a gcc bug when creating csu-dummies.
2000-09-13 07:42:02 +00:00
Ulrich Drepper da0fdef0e4 Update.
2000-09-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2000-09-13 07:30:53 +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 5de565cdc4 Update.
2000-09-12  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/gb18030.c: Many many changes.  Make consistent with
	charmap and with itself.
	* iconvdata/tst-tables.sh: Test GB18030.
2000-09-12 22:58:03 +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 f6ad47269a Update.
2000-09-10  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-collate.c (collate_read): Fix typo in handling
	of decimal ellipsis.

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

	* locale/programs/ld-collate.c (collate_read): Always initialize
	error_section.next.

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

	* locale/programs/ld-collate.c (collate_finish): Upper bound for
	ruleidx is 128, not 256.

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

	* locale/programs/ld-collate.c (collate_read): Correct check for
	already inserted entries.

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

	* iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
	second try as well.

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

	* iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
	MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.

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

	* iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
	SAVE_RESET_STATE.

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

	* iconvdata/utf-7.c: New file.
	* iconvdata/gconv-modules (UTF-7): New module entries.
	* iconvdata/Makefile (modules): Add UTF-7.
	(distribute): Add utf-7.c.
	* iconvdata/testdata/UTF-7: New file.
	* iconvdata/testdata/UTF-7..UTF8: New file.
	* iconvdata/TESTS (UTF-7): New entry.
	* iconvdata/run-iconv-test.sh: Fix confusing output.
2000-09-11 20:33:59 +00:00
Ulrich Drepper 72c65ff44b Update.
2000-09-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2000-09-11 16:06:52 +00:00
Ulrich Drepper ab52d206a3 Update.
2000-09-10  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
	frame pointer offset for non-fast path.

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

	* locale/programs/3level.h (*_init): Initialize level1, level2,
	and level3 as well.
	(*_add): Remove a few unnecessary conditionals.
2000-09-11 07:01:16 +00:00
Ulrich Drepper 6fb7c68eb5 Update.
2000-09-05  Wolfram Gloger  <wg@malloc.de>

	* malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
	ensure usability of mutex as an `in use' flag.
2000-09-10 18:43:37 +00:00
Ulrich Drepper 2119c7059e Update.
2000-09-10  Ulrich Drepper  <drepper@redhat.com>

	* shlib-versions: Simplify libm entries.  Correct a few Hurd entries.

	* sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
	ugly GMON_WEAK_START hack.
	Patch by Philip Blundell <philb@gnu.org>.

	* sysdeps/i386/i486/bits/string.h: Pretty printing.
2000-09-10 08:14:03 +00:00
Ulrich Drepper ada0ce8f41 Update.
2000-09-09  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
	and PPC_ICBI asm for broken compilers.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-09-09 22:28:22 +00:00
Andreas Jaeger c934e1c065 Update.
* manual/message.texi (Advanced gettext functions): Fix typo.
2000-09-09 19:47:29 +00:00
Andreas Jaeger 9840ed3e4c Update.
2000-09-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
	strncpy prototype.
2000-09-09 10:09:24 +00:00
Ulrich Drepper a1ce647f88 Update.
* sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
	warnings.
	* sysdeps/ia64/memccpy.S: Likewise.
	Patches by Jim Wilson <wilson@redhat.com>.
2000-09-09 08:04:57 +00:00
Ulrich Drepper fc5f4a9748 Update.
2000-09-09  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
	before trying to read /proc.
	Patch by Matt Wilson <msw@redhat.com>.
	* include/sys/utsname.h: Declare __uname.
	* sysdeps/generic/uname.c: Make uname a weak alias of __uname.
	* sysdeps/mach/hurd/uname.c: Likewise.
	* sysdeps/unix/syscalls.list: Likewise.

	* iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
	unloading a bit.

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

	* posix/getopt.c (_getopt_internal): When long_only is set always
	recognize conflicts just like before.

2000-09-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2000-09-09 07:59:23 +00:00
Greg McGary e694422de5 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
* sysdeps/unix/make-syscalls.sh: New signature keyletter `V'. 
* sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2000-09-08  Greg McGary  <greg@mcgary.org>

	* sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
	* sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
	* sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2000-09-08 08:41:45 +00:00
Andreas Jaeger 9b4a6eac68 Update.
2000-09-08  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/arm/lockf64.c: New file.

	* sysdeps/unix/sysv/linux/arm/fcntl.c: New file.

	* sysdeps/unix/sysv/linux/arm/bits/fcntl.h
	(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
	(F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2000-09-08 08:17:10 +00:00
Ulrich Drepper 1edd1b142b Update.
* iconvdata/tst-tables.sh: Enable EUC-KR test.
2000-09-08 06:34:32 +00:00
Ulrich Drepper 48da109259 Update.
* elf/dl-load.c (lose): Decrement _nl_loaded.
	(_dl_map_object_from_fd): Don't try to dlopen executables.
2000-09-08 05:49:02 +00:00
Ulrich Drepper 63e18f77e2 Update.
* iconvdata/tst-tables.sh: Actually return with an error if
	something goes wrong.
	* iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
	* iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
2000-09-08 04:31:55 +00:00
Ulrich Drepper c329332e73 Update.
* iconvdata/tst-tables.sh: Add BIG5HKSCS.
2000-09-08 03:00:06 +00:00
Ulrich Drepper 5f7d74ab71 Update.
* iconvdata/tst-table-to.c (main): Correct cast in iconv call.
	* iconvdata/tst-table-from.c: Include <string.h>.
	(try): Correct cast in iconv call.
2000-09-07 23:37:19 +00:00
Ulrich Drepper e39e69563a Update.
* elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
	too.
	* sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
	(sysdep_routines): Remove dl-start.
	Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-09-07 21:34:51 +00:00
Ulrich Drepper 21e41c5887 Update.
2000-09-07  Ulrich Drepper  <drepper@redhat.com>

	* assert/__assert.c: Undefine NDEBUG before include <assert.h>.

	* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
	* sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2000-09-07 18:34:14 +00:00
Ulrich Drepper d998b043aa Update.
2000-09-06  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2000-09-07 18:14:43 +00:00
Ulrich Drepper e0baae1264 Update.
* sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.

	* sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
2000-09-07 18:13:12 +00:00
Ulrich Drepper 377f602036 Update.
* scripts/config.sub: Strip out -unknown for Linux targets.
	Patch by Scott Bambrough <scottb@netwinder.org>.
2000-09-07 18:06:43 +00:00
Ulrich Drepper ea63904464 Update.
2000-09-07  Ulrich Drepper  <drepper@redhat.com>

	* posix/tst-dir.c (main): Correct one bug (missing NULL test) and
	add one more test.
2000-09-07 17:04:27 +00:00
Andreas Jaeger b540e5d0b5 Update.
* sysdeps/unix/sysv/linux/mips/lockf64.c: New file.

	* sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
	syscalls.
2000-09-07 15:46:19 +00:00
Andreas Jaeger 9aee41dec0 Update.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.

	* sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to
	dl_lookup.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.

	* sysdeps/unix/sysv/linux/mips/fcntl.c: New file.

	* stdlib/tst-bsearch.c (main): Add more test cases.
2000-09-07 14:54:03 +00:00
Andreas Jaeger c5914fa7cc Update.
2000-09-07  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
	Reported by GOTO Masanori <gotom@debian.or.jp>.
2000-09-07 09:17:04 +00:00
Ulrich Drepper 47a03c51c8 Update.
2000-09-07  Ulrich Drepper  <drepper@redhat.com>

	* posix/Makefile (tests): Add tst-dir.
	(tst-dir-ARGS): New variable.
	* posix/tst-dir.c: New file.
2000-09-07 08:35:20 +00:00
Andreas Jaeger 8273647f9e Update.
2000-09-07  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
	(SYS_fcntl64): New.

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2000-09-07 08:17:55 +00:00
Ulrich Drepper 675e401589 Update.
* sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
	use the hack with tryopen_o_directory to determine at runtime
	whether it works.
	* sysdeps/unix/sysv/linux/opendir.c: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
2000-09-07 06:21:02 +00:00
Ulrich Drepper 04ba87901c Update.
* catgets/Depend: New file.  Add intl.
	* catgets/Makefile (tests): Add tst-catgets.
	(generated): Remove de.msg.
	(generated-dirs): Add de.
	Add dependency if tst-catgets output on de/libc.cat.
	* catgets/tst-catgets.c: New file.
2000-09-07 03:49:56 +00:00
Ulrich Drepper 82cd2e44f1 Update.
* po/ja.po: New file.
	* po/el.po: Update from translation team.
2000-09-06 22:43:00 +00:00
Ulrich Drepper 0d69b1ac9f Update.
* wcsmbs/Depend: New file.
	* wcsmbs/Makefile (tests): Add tst-btowc.
	(tst-btowc-ENV): Define.
	* wcsmbs/tst-btowc.c: New file.
2000-09-06 22:15:07 +00:00
Ulrich Drepper fda0f3bab0 Update.
* sysdeps/unix/sysv/linux/_G_config.h: Moved to...
	* sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2000-09-06 21:34:01 +00:00
Ulrich Drepper d482d2a33e Update.
* sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2000-09-06 21:12:53 +00:00
Ulrich Drepper 8cb9c6509b Update.
* stdlib/Makefile (tests): Add tst-bsearch.
	* stdlib/tst-bsearch.c: New file.
2000-09-06 21:04:46 +00:00
Ulrich Drepper b64cd08aab Update.
2000-09-06  Ulrich Drepper  <drepper@redhat.com>

	* posix/getopt.c (_getopt_internal): Don't recognize an option
	name as ambiguous if it's a prefix for more than one name but the
	other struct option values are identical.

	* posix/tstgetopt.c: Add test for improved ambiguity recognition.
	Don't depend on visual inspection of the output file to recognize
	errors.
	* posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2000-09-06 18:07:07 +00:00
Andreas Jaeger ccd77b890b Update.
2000-09-06  Andreas Jaeger  <aj@suse.de>

	* sysdeps/alpha/soft-fp/Dist: New file.
	* sysdeps/i386/soft-fp/Dist: New file.
	* sysdeps/mips/mips64/soft-fp/Dist: New file.
	* sysdeps/mips/soft-fp/Dist: New file.
	* sysdeps/powerpc/soft-fp/Dist: New file.
	* sysdeps/sparc/sparc32/soft-fp/Dist: New file.
	* sysdeps/sparc/sparc64/soft-fp/Dist: New file.

	* sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
	Use sysdep_routines instead of routines to fix make dist failure.
	* sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
	out code).
	* sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.

	* sysdeps/mips/Makefile [$(subdir) = misc]:  Use
	sysdep_headers instead of headers for make dist.

	* sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
	Likewise.
2000-09-06 10:53:02 +00:00
Andreas Schwab 414002b13d * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file. 2000-09-06 08:17:11 +00:00
Andreas Jaeger 2e1184e815 Update.
2000-09-06  Andreas Jaeger  <aj@suse.de>

	* soft-fp/Makefile (distribute): Remove ChangeLog.

	* sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]:  Use
	sysdep_routines instead of routines for make dist.
2000-09-06 07:07:55 +00:00
Ulrich Drepper 8bfae061d0 Update.
2000-09-05  Ulrich Drepper  <drepper@redhat.com>

	* libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
	compatibility check for old stream and call _IO_wide in doubt.
	(_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
	* libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
	needed tst for such an old structure and don't do anything.
	* libio/freopen.c: Remove declaration of _IO_stdin_used.

	* soft-fp/Makefile (distribute): Add op-8.h and testit.c.
	* soft-fp/Makefile (distribute): Add the math functions, too.
	* soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
	* soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
	as a statement.
	* soft-fp/sysdeps/powerpc/Makefile (routines): New file.
	* soft-fp/sysdeps/powerpc/q_*: New files.
2000-09-06 03:40:54 +00:00
Andreas Jaeger 10878c33f1 Update.
2000-09-06  Andreas Jaeger  <aj@suse.de>

	* sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
	sysdep-dl-routines and sysdep_routines instead of rtld-routines
	and dl-routines.

	* soft-fp/ChangeLog: Merged with this file.

2000-06-13  Ulrich Drepper  <drepper@redhat.com>

        * soft-fp/Makefile (distribute): Add op-8.h and testit.c.

        * soft-fp/Makefile (distribute): Add the math functions, too.

        * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.

2000-03-03  Geoff Keating  <geoffk@cygnus.com>

        * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
        as a statement.

        * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
        * soft-fp/sysdeps/powerpc/q_*: New files.
2000-09-06 00:05:57 +00:00
Andreas Jaeger 8219785c27 Update.
* soft-fp/Makefile (distribute): Remove configure.
2000-09-05 23:48:20 +00:00
Ulrich Drepper 74ac2cecc7 Update.
2000-09-05  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfprintf.c (process_string_arg): Handle precision
	in wide char case correctly.  Don't allocate too long temporary
	strings with alloca.

	* stdio-common/Makefile (tests): Add tst-swprintf.
	(tst-swprintf-ENV): New variable.
	* stdio-common/tst-swprintf.c: New file.

	* soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2000-09-05 22:52:41 +00:00
Andreas Jaeger aa26edfb33 Update.
2000-09-05  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
	* sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-09-05 19:33:49 +00:00
Ulrich Drepper 0816838fcd Update.
2000-09-05  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Strip out "unknown" from configuration names.

	* iconvdata/run-iconv-test.sh: Add code to immediately stop the
2000-09-05 18:56:16 +00:00
Andreas Jaeger a82f3afffe Update.
* sysdeps/powerpc/Subdirs: New file, adds soft-fp.

	* sysdeps/sparc/sparc64/Implies: Add soft-fp.
	* sysdeps/sparc/sparc32/Implies: Likewise.
	* sysdeps/powerpc/Implies: Likewise.
2000-09-05 15:05:15 +00:00
Andreas Jaeger eab1830e5f Update
* libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
	* libio/oldiofgetpos64.c: Likewise.
2000-09-05 11:58:21 +00:00
Andreas Jaeger 1e9877a77c Update.
2000-09-05  Andreas Jaeger  <aj@suse.de>

	* sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.

	* soft-fp/configure: Remove.

	* soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.

	* soft-fp/sysdeps/powerpc/Makefile: Move from here...
	* sysdeps/powerpc/soft-fp/Makefile: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.

        * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
        * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.

	* soft-fp/sysdeps/powerpc/q_add.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_add.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_div.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_div.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_feq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_fge.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_fle.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_flt.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_fne.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_mul.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_neg.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_sub.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_util.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_util.c: ... to here.

	* soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
	* sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.

	* soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
	* sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
	* sysdeps/i386/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
	* sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
	* sysdeps/mips/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
	* sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
	* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.

	* soft-fp/sysdeps/powerpc/Versions: Move from here...
	* sysdeps/powerpc/soft-fp/Versions: ... to here.

	* soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
	* sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.

	* libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
	change symbol version.
	* libio/oldiofgetpos64.c: Likewise.
	Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.

	* locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
	typo.
	Reported by dyky@kondara.org, closes PR libc/1886.

	* stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
	libc/1880.
2000-09-05 10:28:14 +00:00
Ulrich Drepper 813bb1f179 Update.
* iconvdata/run-iconv-test.sh: Add code to immediate stop the
	script when ^C is hit.
2000-09-05 05:58:12 +00:00
Ulrich Drepper 16fe0a8835 Update.
2000-09-04  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/localedef.c (construct_output_path): Correct
	computation of endp after asprintf.
	* locale/programs/locfile.c (write_locale_data): Don't add extra
	slash in filename.
2000-09-05 05:52:09 +00:00
Andreas Jaeger 2e86550753 Update.
2000-09-05  Andreas Jaeger  <aj@suse.de>

	* scripts/config.guess: New upstream version.
	* scripts/config.sub: Likewise.
	* manual/texinfo.tex: Likewise.
2000-09-05 05:07:42 +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
Andreas Jaeger 6d77214d90 Update.
* locale/programs/ld-monetary.c (monetary_read): Fix typo.
	* iconv/iconv_prog.c (options): Fix typo.
	Reported by dyky@kondara.org, closes PR libc/1885.

2000-09-04  Andreas Jaeger  <aj@suse.de>
2000-09-04 09:40:57 +00:00
Andreas Jaeger 56735b1196 Update
2000-09-04  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/fegetenv.c: It's __fegetenv.
        Reported by Rob Levin <lilo@transvirtual.com>.
2000-09-04 08:37:08 +00:00
Ulrich Drepper 2e4581e4fb Update.
2000-09-03  Ulrich Drepper  <drepper@redhat.com>

	* time/sys/time.h (gettimeofday): Move restrict for tz parameter
	to the typedefs of __timezone_ptr_t.
	Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.

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

	* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
	the loop.

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

	* Makeconfig (built-program-cmd): Don't use the dynamic linker
	to run a binary if it is in $(tests-static).

	* Rules (binaries-static): Add $(tests-static).
2000-09-03 17:10:35 +00:00
Andreas Jaeger 3146ad427a Update.
2000-09-02  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.

	* libio/fmemopen.c (fmemopen_close): Revert one part of last
	patch.
2000-09-02 15:05:15 +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 4c7d276eb1 Update.
2000-08-31  Bruno Haible  <haible@clisp.cons.org>

	* wctype/wcfuncs.c (iswblank): New function.
	* wctype/wcfuncs_l.c (__iswblank_l): New function.
	* wctype/wcextra.c: Remove file.
	* wctype/wcextra_l.c: Remove file.
	* wctype/Makefile (distribute): Remove wcextra and wcextra_l.

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

	* locale/programs/ld-collate.c (collate_output): Remove redundant
	assert call.
	* string/strcoll.c: Likewise.
	* string/strxfrm.c: Include assert.h.  Add assert calls like in
	string/strcoll.c.

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

	* locale/categories.def (_NL_COLLATE_HASH_SIZE,
	_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
	_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
	* locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
	_NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
	(_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
	(_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
	(_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
	_NL_CTYPE_GAP5/6 respectively.

	* locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
	* ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
	* locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
	Don't initialize __ctype_names and __ctype_width.
	* wctype/cname-lookup.h: Remove file.
	* wctype/Makefile (distribute): Remove cname-lookup.h.
	* wctype/wchar-lookup.h: Include stdint.h.
	* wctype/wctype.c (__wctype): Assume new locale format.
	* wctype/wctype_l.c (__wctype_l): Likewise.
	* wctype/iswctype.c: Don't include cname-lookup.h.
	(__iswctype): Assume new locale format.
	* wctype/iswctype_l.c: Don't include cname-lookup.h.
	(__iswctype_l): Assume new locale format.
	* wctype/wctrans.c: Don't include ctype.h.
	(wctrans): Assume new locale format.
	* wctype/wctrans_l.c (__wctrans_l): Likewise.
	* wctype/towctrans.c: Don't include cname-lookup.h.
	(__towctrans): Assume new locale format.
	* wctype/towctrans_l.c: Don't include cname-lookup.h.
	(__towctrans_l): Assume new locale format.
	* wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
	localeinfo.h instead.
	(__NO_WCTYPE): Remove unused macro.
	(__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
	declarations.
	(iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
	iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
	(towlower, towupper): Likewise.
	* wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
	localeinfo.h instead.
	(__NO_WCTYPE): Remove unused macro.
	(__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
	__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
	__iswxdigit_l): Assume new locale format.
	(__towlower_l, __towupper_l): Likewise.
	* wcsmbs/wcwidth.h: Don't include cname-lookup.h.
	(__ctype32_b): Remove declaration.
	(internal_wcwidth): Assume new locale format.
	* locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
	plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
	to map32_b, rename width_3level to width.
	(ctype_output): Always create new locale format. Don't emit
	_NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
	(allocate_arrays): Always create new locale format.

	* locale/C-collate.c (_nl_C_LC_COLLATE): Update.
	* locale/weightwc.h (findidx): Assume new locale format.
	* string/strcoll.c (wcscoll): Remove local variables size, layers,
	names.
	* string/strxfrm.c (wcsxfrm): Likewise.
	* posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
	local variable collseq to 'const char *'.
	(SUFFIX): Don't use, don't undefine.
	* posix/fnmatch.c: Remove SUFFIX definition.
	* locale/programs/ld-collate.c (struct locale_collate_t): Remove
	fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
	wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
	(collate_finish): Always create new locale format. Remove local
	variables min_total, act_size.
	(collate_output): Always create new locale format. Remove local
	variables table_size, names, tablewc. Rename tablewc_3level to
	tablewc.

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

	* locale/programs/ld-collate.c (obstack_int32_grow,
	obstack_int32_grow_fast): New inline functions.
	(output_weightwc, collate_output): Use them where possible.
2000-09-01 19:36:44 +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 a8e58aa9ab Update.
[_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
	test _IO_USER_LOCK flag first.
2000-09-01 09:09:56 +00:00
Ulrich Drepper a91d3cd37b Update.
* libio/Makefile (headers): Add stdio_ext.h.
	(routines): Add __fbufsize, __freading, __fwriting, __freadable,
	__fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
	* libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
	__fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
	__fsetlocking, and _flushlbf.
	* libio/__fbufsize.c: New file.
	* libio/__flbf.c: New file.
	* libio/__fpending.c: New file.
	* libio/__fpurge.c: New file.
	* libio/__freadable.c: New file.
	* libio/__freading.c: New file.
	* libio/__fsetlocking.c: New file.
	* libio/__fwritable.c: New file.
	* libio/__fwriting.c: New file.
	* libio/stdio_ext.h: New file.
	* libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
	* libio/libio.h (_IO_USER_LOCK): Define.
2000-09-01 08:56:06 +00:00
Ulrich Drepper 1341abeec5 Update.
2000-09-01  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
	malloc fails.
2000-09-01 07:30:38 +00:00
Andreas Jaeger 7e48149628 Update.
2000-09-01  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.

	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2000-09-01 07:14:30 +00:00
Ulrich Drepper 507cef0861 Update.
* math/Makefile (tests): Add tst-defintions.
	* math/tst-definitions.c: New file.
2000-09-01 07:00:07 +00:00
Ulrich Drepper 417bafec1e Update.
* stdlib/Makefile (headers): Add bits/wchar.h.
	* sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
	* sysdeps/generic/bits/wchar.h: New file.
	* sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
	file to define WCHAR_MIN and WCHAR_MAX.
	Change UINT*8_MAX and UIN*16_MAX value to type int.
	* wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
	file to define WCHAR_MIN and WCHAR_MAX.
	* sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
	int values.
	* sysdeps/arm/fpu/bits/mathdef.h: Likewise.
	* sysdeps/generic/bits/mathdef.h: Likewise.
	* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
	* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
	* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
	* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
	* locale/locale.h (struct lconv): Add __ prefix to the new members
	if not C99.
	* sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
	imaxdiv optimizations.
	* sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
	* sysdeps/wordsize-64/ldiv.c: Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
	const fenv_t*.
	* sysdeps/generic/bits/fenv.h: Likewise.
	* sysdeps/i386/fpu/bits/fenv.h: Likewise.
	* sysdeps/ia64/bits/fenv.h: Likewise.
	* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
	* sysdeps/mips/bits/fenv.h: Likewise.
	* sysdeps/s390/fpu/bits/fenv.h: Likewise.
	* sysdeps/sparc/fpu/bits/fenv.h: Likewise.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

	* catgets/open_catalog.c: Likewise.
2000-09-01 06:39:10 +00:00
Ulrich Drepper 8edf6e0d7e Update.
* inet/rcmd.c: Use *stat64 instead of *stat internally.
	* inet/ruserpass.c: Likewise.
	* intl/loadmsgcat.c: Likewise.
	* io/getdirname.c: Likewise.
	* locale/loadlocale.c: Likewise.
	* misc/getusershell.c: Likewise.
	* stdlib/canonicalize.c: Likewise.
	* sysdeps/posix/euidaccess.c: Likewise.
	* sysdeps/posix/isfdtype.c: Likewise.
	* sysdeps/posix/posix_fallocate.c: Likewise.
	* sysdeps/posix/tempname.c: Likewise.
	* sysdeps/unix/grantpt.c: Likewise.
	* sysdeps/unix/opendir.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
	* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
	* sysdeps/unix/sysv/linux/statvfs.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
	* sysvipc/ftok.c: Likewise.
	* time/getdate.c: Likewise.

	* time/getdate.c: Add extra access test.

2000-08-31  Ulrich Drepper  <drepper@redhat.com>
2000-09-01 02:26:05 +00:00
Ulrich Drepper 3d784d8300 Update.
* sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
	* sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2000-08-31 23:34:32 +00:00
Ulrich Drepper fe019b571d Update.
* version.h (VERSION): Bump to 2.1.93.

	* intl/locale.alias: Add aliases for bokmal and nynorsk.
2000-08-31 21:42:39 +00:00
Ulrich Drepper 55e2d5c7c4 Update.
* intl/Makefile (tests): Depend in mtrace-tst-gettext.
	Make this a new rule depending on tst-gettext.out and run mtrace.
	* intl/tst-gettext.c: Call mtrace.
	* intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.

	* elf/dl-reloc.c: Add a few more __builtin_expect.

	* configure.in: Remove --with-gettext option.

	* intl/dcigettext.c (free_mem): Correct freeing of
	_nl_domain_bindings list.
2000-08-31 21:05:59 +00:00
Ulrich Drepper 69071b2ab6 Update.
* sysdeps/generic/setenv.c (free_mem): New function.  Free all
	allocated memory.
2000-08-31 20:30:50 +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 cb7c4a2711 Update.
* stdio-common/itoa-digits.c: Move upper digits to...
	* stdio-common/itoa-udigits.c: ...here.  New file.
	* stdio-common/Makefile (routines): Add itoa-udigits.
2000-08-31 08:50:08 +00:00
Ulrich Drepper a778db0624 Update.
* sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
	relocate ld.so don't add supprt for relocations which should not
	appear in ld.so.
2000-08-31 08:28:44 +00:00
Ulrich Drepper fbcc0996a8 Update.
2000-08-31  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
	__secure_getenv.  Instead test __libc_enable_secure once.

	* io/pwd.c (main): Provide a good example, use *_unlocked function.
2000-08-31 07:34:24 +00:00
Ulrich Drepper b2fe29ddb5 Update.
* iconv/gconv_conf.c (insert_module): Take extra parameter to decide
	whether the new record should be freed if it's a duplicate.
	(add_module): Adjust insert_module call.
	(__gconv_read_conf): Likewise.
	* iconvdata/Makefile (generated): Add tst-loading.mtrace and
	mtrace-tst-loading.
	(tests): Make $(objpfx)mtrace-tst-loading a dependency.  Add rule.
2000-08-31 06:37:47 +00:00
Ulrich Drepper f55727ca53 Update.
* sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
	_dl_all_init_dirs.
	* include/link.h (struct r_search_path_struct): New.
	(struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
	* elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
	_dl_all_init_dirs.
	* elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
	* elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
	added at startup time.
	* elf/dl-load.c: Fix memory handling.  r_search_path_struct
	contains element to remember fact that we can free memory.
	(all_dirs): Renamed to _dl_all_dirs.  Made global.
	(_dl_init_all_dirs): New variable.
	(fillin_rpath): Save one malloc call.
	(decompose_rpath): Change interface.  New first parameter points to
	r_search_path_struct.
	(_dl_init_paths): Adjust for changes.  Mark all memory as not
	deletable.  Set _dl_init_all_paths value.
	(open_path): Remove may_free_dirs parameter.  r_search_path_elem ***
	parameter replaced with r_search_path_struct *.  Information about
	freeing now contained in r_search_path_struct.
	(_dl_map_object): Adjust for above changes.

	* elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2000-08-31 02:27:07 +00:00
Ulrich Drepper 4a6d11984d Update.
* elf/dl-load.c (fillin_rpath): Only check for trusted directories
	when adding new entries.
2000-08-31 00:20:09 +00:00
Ulrich Drepper 32ee8d952f Update.
* elf/dl-load.c (fillin_rpath): Make local copy of where string
	since the object being loaded can be unloaded.
2000-08-30 23:42:45 +00:00
Ulrich Drepper b4f95b74f7 Update.
2000-08-30  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (tests): Add tst-loading.
	* iconvdata/tst-loading.c: New file.
2000-08-30 22:40:09 +00:00
Ulrich Drepper 44f8759bc5 Update.
2000-08-29  Bruno Haible  <haible@clisp.cons.org>

	* stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
	When comparing a char with an int, always cast the char to
	'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
	compiling with -funsigned-char.	Use UCHAR_MAX+1 instead of UCHAR_MAX.
2000-08-30 20:06:01 +00:00
Ulrich Drepper e668889af2 Update.
* time/strftime.c (my_strftime): Add compatibility code for use
	outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.
2000-08-30 18:31:38 +00:00
Ulrich Drepper db7dc81100 Update.
* sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
	return 0 for success but always < 0 on failure.
2000-08-30 18:28:16 +00:00
Ulrich Drepper 3dc4a54419 Update.
2000-08-30  Ulrich Drepper  <drepper@redhat.com>

	* nss/getXXbyYY_r.c: Define result to *result before including
	digits_dots.c.
2000-08-30 18:20:14 +00:00
Andreas Jaeger f6bb547a6a Update.
2000-08-30  Andreas Jaeger  <aj@suse.de>

	* math/gen-libm-test.pl (parse_ulps): Remove extra \.
2000-08-30 16:32:44 +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 076bfcf612 Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* libio/iogetline.c: Set mode before the loop in case n==0.
	* libio/iogetwline.c: Likewise.

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

	* libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
	of fp->_mode < 0.
	(_IO_new_file_overflow): Likewise.
	* libio/genops.c (_IO_flush_all): Likewise.
	* libio/ioftell.c (_IO_ftell): Likewise.
2000-08-29 22:41:42 +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 4dadd40cc7 Update.
* signal/signal.h (sigpause): Move __THROW before __asm__.
2000-08-29 20:17:40 +00:00
Ulrich Drepper 30f1226b0b Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
	names don't match don't return.
	Patch by Olaf Kirch <okir@flash.lst.de>.
2000-08-29 18:12:01 +00:00
Ulrich Drepper 1a6c971d00 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* time/strftime.c (my_strftime): Handle # flag for %b as well.
2000-08-29 04:18:58 +00:00
Ulrich Drepper 8f3f1e09bf Update.
2000-08-27  H.J. Lu  <hjl@gnu.org>

	* posix/Makefile (otherlibs): Add for building with static-nss
	for "make check".

	* malloc/Makefile (tests): Likewise.
2000-08-29 03:44:11 +00:00
Ulrich Drepper 46e4bd3b8e Update.
* libio/stdio.h: Add fmemopen prototype.

2000-08-25  Andreas Jaeger  <aj@suse.de>

	* libio/Makefile (routines): Add fmemopen.
	(tests): Add test-fmemopen.
	* libio/Versions: Add fmemopen with version GLIBC_2.2.
	* libio/test-fmemopen.c: New file.
	* libio/fmemopen.c: New file.
	Patches by Hanno Mueller <kontakt@hanno.de>.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>
2000-08-29 02:54:55 +00:00
Ulrich Drepper 07d94f9045 Update.
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
	inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
2000-08-29 02:37:20 +00:00
Ulrich Drepper 4370efec00 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
	to avoid crashing statically linked applications.
2000-08-29 01:22:46 +00:00
Ulrich Drepper 04ea3b0fbb Update.
2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
	If nrules == 0 and srclen < n, copy only srclen + 1 characters.

	* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
	If the result is fits in the buffer, copy only as many bytes as needed.

	* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
	buffer after copying numbuf into it.
	* sysdeps/mach/_strerror.c (__strerror_r): Likewise.

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

	* posix/confstr.c (confstr): When string_len > len, NUL-terminate
	the result.  When string_len < len, don't clear the rest of the buffer.

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

	Support for new LC_COLLATE format.
	* locale/coll-lookup.h: New file.
	* locale/weightwc.h (findidx): When size == 0, call
	collidx_table_lookup.
	* wcsmbs/wcscoll.c: Include coll-lookup.h.
	* wcsmbs/wcsxfrm.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
	collseq_table_lookup.
	* locale/programs/3level.h: New file.
	* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
	by including "3level.h".
	* locale/programs/ld-collate.c (wchead_table, collidx_table,
	collseq_table): New types, defined by including "3level.h".
	(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
	(encoding_mask, encoding_byte): Remove.
	(utf8_encode): Use simple shifts instead.
	(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
	to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
	(collate_output): New local variable tablewc_3level. When
	!oldstyle_tables, set table_size to 0 and names to NULL and fill
	tablewc_3level instead of tablewc. Change format of TABLEWC and
	COLLSEQWC entries written to the file.
	* locale/C-collate.c (collseqwc): Change format.
	(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
	of COLLSEQWC.
	* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.

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

	* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
	(locale_ctype_t): New charnames_idx field.
	(ctype_startup): Initialize charnames_idx field.
	(find_idx): Speed up dramatically by using charnames_idx inverse table.

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

	* locale/C-ctype.c: Switch to new locale format.
	(_nl_C_LC_CTYPE_names): Remove array.
	(STRUCT_CTYPE_CLASS): New macro.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New three-level tables.
	(_nl_C_LC_CTYPE_width): Change from array to three-level table.
	(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
	to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
	12 class tables and 2 map tables at the end.
	* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New declarations.
	(b): Remove trailing semicolon.
	(__ctype_names, __ctype_width): Don't initialize.
	(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.

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

	* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
	is guaranteed to be allocated with the same malloc() and may be
	passed to free().
	(_dl_map_object): Update open_path calls. If rtld_search_dirs has
	been set to empty by an earlier open_path call, don't pass it again.
2000-08-29 01:20:23 +00:00
Ulrich Drepper 50fd913bec Update.
* include/libintl.h: Include <locale.h> since libintl.h doesn't if
	we are not optimizing.
2000-08-28 23:52:21 +00:00
Ulrich Drepper 924102e7a6 Update.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
	inclusion.
2000-08-28 23:36:01 +00:00
Ulrich Drepper 102f064220 Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
	really match EOF.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-28 22:31:02 +00:00
Andreas Jaeger 1e0448d42a Update.
2000-08-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2000-08-28 15:24:13 +00:00
Mark Kettenis b222360c50 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias.
2000-08-28  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
	getpeername.  Use ISO C style function definition.
	(getpeername): Provide weak alias.
	* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
	setrlimit.  Use ISO C style function definition.
	(setrlimit): Provide weak alias.
2000-08-28 14:05:55 +00:00
Andreas Jaeger ba55e591e7 Update.
2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* shlib-versions: Add a rule for S/390 to the libm version list.
	* sysdeps/s390/Versions: New file.
	* sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
	* sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
	* sysdeps/unix/sysv/linux/s390/Versions: New file.
	* sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
	* sysdeps/unix/sysv/linux/s390/chown.c: New file.
	* sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
	* sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
	* sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
	* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
	* sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
	* sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
	* sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
	* sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
	* sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2000-08-28 11:17:03 +00:00
Ulrich Drepper 67c28b1228 Update.
* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
	(CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2000-08-28 08:39:15 +00:00
Ulrich Drepper b35e21f43f Update.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
	* elf/dl-close.c (_dl_close): Print debug message if object is not
	unloaded.
	* elf/dl-open.c (dl_open_worked): Print message about opencount before
	returning to caller.
2000-08-28 08:32:23 +00:00
Ulrich Drepper b9672e718e Update.
2000-08-28  Ulrich Drepper  <drepper@redhat.com>

	* po/zh.po: Renamed to...
	* po/zh_TW.po: ...this.
2000-08-28 08:00:42 +00:00
Geoff Keating 5a3641520e * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2000-08-28 06:20:43 +00:00
Geoff Keating e4df97b85c * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
* sysdeps/powerpc/fpu/feenablxcpt.c: New file. 
* sysdeps/powerpc/fpu/fegetexcept.c: New file. 
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-27  Geoff Keating  <geoffk@cygnus.com>

	* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
	* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
	* sysdeps/powerpc/fpu/fegetexcept.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-28 05:59:48 +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 6adc15f574 Update.
* locale/findlocale.c (free_mem): Add cast to avoid warning.
2000-08-27 19:05:19 +00:00
Ulrich Drepper 4944d5d63f Update.
* intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
	to determine invalid locale name.
	* locale/findlocale.c (_nl_find_locale): Likewise.
2000-08-27 18:45:00 +00:00