Commit Graph

4513 Commits

Author SHA1 Message Date
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
Ulrich Drepper b4f48b41b4 Update.
* posix/annexc.c: Correct test for unavailable feature.
2000-08-27 18:28:09 +00:00
Ulrich Drepper 48bde9c35c Update.
2000-08-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
	__inline.
2000-08-27 16:54:09 +00:00
Ulrich Drepper 6a72ae2124 Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
	syscall.
2000-08-27 03:28:06 +00:00
Ulrich Drepper d4cfddf947 Update.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
	(sysdep_routines): Add oldgetrlimit64.
2000-08-27 01:02:34 +00:00
Ulrich Drepper 2b7238dda8 Update.
2000-08-26  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
	reldepmod2.c, reldepmod3.c, and reldepmod4.c.
	(tests): Add unload, reldep, reldep2, and reldep3.
	(modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
	and reldepmod4.
	Add rules to build and run unload, reldep, reldep2, and reldep3.
	* elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
	Don't create relocation dependency if it is nonzero.
	(_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
	can never happen here.
	(_dl_lookup_versioned_symbol): Add new parameter explicit.
	Don't create relocation dependency if it is nonzero.
	(_dl_lookup_versioned_symbol_skip): Remove relocation dependency
	stuff.  This can never happen here.
	* sysdeps/generic/ldsodefs.h: Change prototypes.
	* elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
	_dl_lookup_up and _dl_lookup_versioned_symbol.
	(RESOLV): Likewise.
	* elf/dl-runtime.c (fixup): Likewise.
	(profile_fixup): Likewise.
	* elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
	_dl_lookup_symbol.
	* elf/dl-symbol.c (_dl_symbol_value): Likewise.
	* elf/rtld.c (dl_main): Likewise.
	* elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
	_dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
	and pass down the caller map.
	(_dl_vsym): Likewise.
	* elf/reldep.c: New file.
	* elf/reldep2.c: New file.
	* elf/reldep3.c: New file.
	* elf/reldepmod1.c: New file.
	* elf/reldepmod2.c: New file.
	* elf/reldepmod3.c: New file.
	* elf/reldepmod4.c: New file.
	* elf/unload.c: New file.
	* elf/unloadmod.c: New file.

	* elf/do-lookup.h: Remove unused undef_name parameter.
	* elf/dl-lookup.c: Adjust callers.
2000-08-26 23:41:19 +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
Greg McGary c7f524b8af Update.
2000-08-25  Greg McGary  <greg@mcgary.org>

	* sysdeps/i386/memchr.S: Check high bound against chars
	actually scanned.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/i386/stpncpy.S: Adjust high-bound check to
	account for pointers that lie one beyond end-of-buffer.
2000-08-25 21:10:42 +00:00
Ulrich Drepper ad7534c8f0 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
	* elf/nodelete.c (fini_ran): New global variable.
	(do_test): Before every dlclose call clear fini_ran and test
	afterwards that it is not set by the destructors.
	* elf/nodelmod1.c: Add destructor which sets fini_ran.
	* elf/nodelmod2.c: Likewise.
	* elf/nodelmod4.c: Likewise.
2000-08-25 19:33:19 +00:00
Ulrich Drepper bb8d0fd5b1 Update.
2000-08-21  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
	getrlimit to the list.

2000-08-18  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
	long double format so use ldbl-96 instead of ldbl-128.
2000-08-25 19:02:14 +00:00
Ulrich Drepper b0af120fd0 Update.
* sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
	even if bits 10 a 11 are non-zero.
	* sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2000-08-25 18:23:57 +00:00
Ulrich Drepper 1bc777b883 Update.
* Makeconfig: Ensures the soversions.mk part of Makefile gets
	included before building gnu/lib-names.h
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-25 18:07:41 +00:00
Ulrich Drepper 7045878b04 Update.
* elf/dl-close.c (_dl_close): Don't run destructors of objects
	marked DF_1_NODELETE.
2000-08-25 16:48:42 +00:00
Ulrich Drepper b7fb789d88 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
	since we call sigaction in the child.
2000-08-25 16:37:20 +00:00
Andreas Jaeger 700f371b21 Update.
* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
	gconv-modules.

2000-08-25  Andreas Jaeger  <aj@suse.de>
2000-08-25 12:48:58 +00:00
Andreas Jaeger 7a7a7ee5f1 Update.
2000-08-25  Andreas Jaeger  <aj@suse.de>

	* manual/arith.texi (Control Functions): Clarify possible
	arguments.  Closes PR libc/1856.
2000-08-25 11:40:02 +00:00
Andreas Jaeger 2085b8d19b Update.
2000-08-24  H.J. Lu  <hjl@gnu.org>

	* stdio-common/Makefile (tests): Don't do it for cross compiling.
	* stdio-common/Makefile (tests): Likewise.
2000-08-25 09:03:32 +00:00
Ulrich Drepper 62c2758224 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/unicode.c (gconv_init): Correct test for direction.
2000-08-24 23:20:02 +00:00
Andreas Jaeger 469e977feb Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* malloc/Makefile (extra-objs): Fix last patch, build memusagestat
	only if LIBGD is available.
2000-08-24 12:39:25 +00:00
Andreas Jaeger 7e98470d80 Update.
* sysdeps/unix/sysv/syscalls.list: Likewise.
2000-08-24 10:19:29 +00:00
Ulrich Drepper d46a5ab9cb Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
	problems with now restrict parameter types.
	(convaddr4to6): Likewise.

2000-08-24  Denis Joseph Barrow  <djbarrow@de.ibm.com>
2000-08-24 10:04:58 +00:00
Andreas Jaeger 0067c4cffb Update.
2000-08-24  Denis Joseph Barrow    <djbarrow@de.ibm.com>

	* sysdeps/s390/fpu/fedisblxcpt.c: New file.
	* sysdeps/s390/fpu/feenablxcpt.c: New file.
	* sysdeps/s390/fpu/fegetexcept.c: New file.
	* sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
	FPC_VALID_MASK.
2000-08-24 09:57:58 +00:00
Andreas Jaeger 3b526f89b5 Update.
Move inclusion of test-skeleton to front to have prototype for
	add_temp_file.
2000-08-24 09:30:58 +00:00
Andreas Jaeger 991dca9005 Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* malloc/Makefile (extra-objs): Add memusagestat.o.
	(generated): Added memusage and memusagestat for make clean.

	* libio/tst_putwc.c (do_test): Delete temporary file.

	* posix/Makefile (generated): Add wordexp-tst.out.
2000-08-24 08:58:23 +00:00
Ulrich Drepper c81459e7d8 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_hconf.c (free_mem): Remove not needed if.

	* time/tzset.c (free_mem): New function.
	* string/strsignal.c (free_mem): New function.
	* inet/inet_ntoa.c (free_mem): New function.
	* sunrpc/clnt_perr.c (free_mem): New function.
2000-08-24 08:53:30 +00:00
Andreas Jaeger 219f2381bd Update.
* posix/unistd.h: Move internal prototypes from here ...
	* include/unistd.h: ... to here.

	* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2000-08-24 08:33:49 +00:00
Andreas Jaeger d5fb902b06 Update.
2000-08-24  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2000-08-24 08:09:16 +00:00
Ulrich Drepper 84364bf861 Update.
* grp/initgroups.c (initgroups): Deallocate groups array.
	Reported by jani.raiha@sonera.com [PR libc/1868].
2000-08-24 07:57:44 +00:00
Ulrich Drepper 80bae720f5 Update.
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
	* sysdeps/alpha/Dist: Likewise.
2000-08-24 07:41:38 +00:00
Ulrich Drepper 0c571040e2 Update.
* crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
	destructor).  Reported by Solar Designer <solar@false.com>.
2000-08-24 06:11:27 +00:00
Ulrich Drepper f4942eca1e Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_conf.c (add_module): Remove some unneeded code to
	avoid adding double slashes.
2000-08-23 20:39:41 +00:00
Ulrich Drepper 91ca07d8ea Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
	out of the __REDIRECT macro.
2000-08-23 18:04:17 +00:00
Andreas Jaeger df9650f1b0 Update.
* sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
	Use static __inline instead of _EXTERN_INLINE.

	* misc/sys/select.h: Move prototypes of __select from here ...
	* include/sys/select.h: ... to here.

	* socket/sys/socket.h: Move prototypes of __send and __connect
	from here....
	* include/sys/socket.h: ... to here.
2000-08-23 17:09:29 +00:00
Ulrich Drepper 56ce46d569 Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/vfscanf.c: Add %F format support.

	* locale/programs/ld-ctype.c (ctype_output): Make sure
	_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
	_NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
	(ctype_read): Enable returning of wide character strings for reading
	transliteration information.
2000-08-23 16:58:41 +00:00
Andreas Jaeger 0232a3ae6c Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-ctype.c (ctype_read): Fix parameter for
	lr_error.
2000-08-23 16:48:51 +00:00
Andreas Jaeger 39d4e06f6d Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
	__setrlimit as strong name. Takes only 2 arguments.

	* sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
	takes only 2 arguments.
2000-08-23 14:20:17 +00:00
Andreas Jaeger ea18f67073 Update.
* sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2000-08-23 09:53:54 +00:00
Andreas Jaeger 84056c71ce Update.
2000-08-23  Martin Schwidefsky	<schwidefsky@de.ibm.com>

	* sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.

	only for !SHARED case.	Get the code from dl-osinfo.h.
2000-08-21  Martin Schwidefsky	<schwidefsky@de.ibm.com>
2000-08-21  Martin Schwidefsky	<schwidefsky@de.ibm.com>
2000-08-23 09:04:23 +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
Andreas Jaeger d6585e0b91 Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* include/wchar.h: Add some pure attributes.

	* time/time.h: Add const attribute for dysize.

	* include/stdlib.h: Add malloc attribute to __posix memalign.

	* stdlib/stdlib.h: Add some pure and malloc attributes.
	* wcsmbs/wchar.h: Likewise.

	* dirent/dirent.h: Add some pure attributes.
	* include/dirent.h: Likewise.
2000-08-23 07:22:48 +00:00
Ulrich Drepper 24c7f4c14b Update.
2000-08-23  Jakub Jelinek  <jakub@redhat.com>

	* inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
	on 64bit arches.
2000-08-23 07:15:54 +00:00
Ulrich Drepper 4cee32ddd1 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
	missing buffer size checks.
2000-08-23 07:03:49 +00:00
Andreas Jaeger 7e7b6007f2 Update.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
	strong name.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2000-08-23 06:57:06 +00:00
Ulrich Drepper b4246fd63d Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
	otherwise __LINUX_KERNEL_VERSION might not be defined.
	(MIN): Define if not already defined.
2000-08-23 06:52:05 +00:00
Ulrich Drepper 6c46718f9f Update.
* stdio-common/vfprintf.c: Handle %F format.
	* stdio-common/printf-parse.h (parse_one_spec): Likewise.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

	* stdio-common/tstdiomisc.c: Add test for %F printf format.

	* po/zh.po: New file.
2000-08-23 06:35:22 +00:00
Ulrich Drepper cf970a3215 Update.
* iconvdata/sjis.c: In conversion from UCS4, correct test for
	enough room in target buffer.
	Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
	* iconvdata/bug-iconv1.c: New file.
	* iconvdata/Makefile (tests): Add bug-iconv1.
2000-08-23 05:52:43 +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
Mark Kettenis 64659255c7 * hurd/hurdsig.c: Rearrange headers a bit. (_hurdsig_init): Block until _hurd_msgport_thread is initialized when cthreads is being used.
2000-08-22  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurdsig.c: Rearrange headers a bit.
	(_hurdsig_init): Block until _hurd_msgport_thread is initialized
	when cthreads is being used.
2000-08-22 19:31:27 +00:00
Ulrich Drepper 32b4fe6a63 Update.
* elf/Makefile (distribute): Add dl-osinfo.h.
	* sysdeps/generic/dl-osinfo.h: New file.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
	if defined.
	* sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
	only for !SHARED case.  Get the code from dl-osinfo.h.
2000-08-22 17:48:22 +00:00
Ulrich Drepper ea83223c5c Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/random_r.c: Cleanups.
	* stdlib/tst-random.c: New file.
	* stdlib/Makefile (tests): Add tst-random.
	Patches by Michael Fischer <fischer-michael@cs.yale.edu>.

	* sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
	* sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2000-08-22 16:27:22 +00:00
Andreas Jaeger 26830935c1 Update.
2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

        * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
        * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2000-08-22 14:13:25 +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
Andreas Jaeger fe615dced5 Update.
2000-08-21  Andreas Jaeger  <aj@suse.de>

	* stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
	libc/1864).
	* stdlib/tst-strtoll.c: Likewise.
2000-08-22 05:57:55 +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 7ca404adab Update.
* stdlib/random_r.c (__setstate_r): Correct offset when computing
	new rptr and fptr.  Reported by Michael Fischer <fischer@cs.yale.edu>.

	* posix/regex.h: Add macro definitions to allow compiling outside
	glibc.
2000-08-21 23:31:38 +00:00
Ulrich Drepper 63336471f0 Update.
* sysdeps/i370/Implies: Removed.
	* sysdeps/mvs/Implies: Removed.

	* catgets/catgets.c (catopen): Filter out env_var values with / if
	necessary.

	* locale/findlocale.c (_nl_find_locale): Move test for unusable
	locale name after all getenvs.
2000-08-21 20:58:00 +00:00
Ulrich Drepper ce19d41746 Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Allow sed versions like 3.02.8.
	Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2000-08-21 20:05:51 +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 fb7268b292 Update.
* sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
	of gethostbyname2_r call.
2000-08-21 19:12:24 +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
Andreas Jaeger b6341471cf Update.
* sysdeps/s390/__longjmp.c: Remove unused variable result.
	* sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
	* sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2000-08-21 17:09:18 +00:00
Andreas Jaeger b7d2cec071 Update.
2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/__longjmp.c: Removed unused variable result.
	* sysdeps/s390/fpu/bits/fenv.h: Moved FPC_* definitions to fenv_libc.h.
	* sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/fegetenv.c: New file.
	* sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/feholdexcpt.c: New file.
	* sysdeps/s390/fpu/fenv_libc.h: New file.
	* sysdeps/s390/fpu/fesetenv.c: New file.
	* sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
	* sysdeps/s390/fpu/feupdateenv.c: New file.
	* sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
	* sysdeps/s390/fpu/fpu_control.h: Corrected header.
	* sysdeps/s390/fpu/fraiseexcpt.c: New file.
	* sysdeps/s390/fpu/fsetexcptflg.c: New file.
	* sysdeps/s390/fpu/ftestexcept.c: New file.
	* sysdeps/s390/fpu/libm-test-ulps: New file.
	* sysdeps/s390/gmp-mparam.h: Add end of comment.
	* sysdeps/s390/initfini.c: New file.
	* sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
	* sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
	* sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
	* sysdeps/unix/sysv/linux/s390/lchown.c: New file.
	* sysdeps/unix/sysv/linux/s390/sys/elf.h: Moved elf definitions to
	sys/procfs.h as proposed by Mark Kettenis.
	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2000-08-21 16:58:54 +00:00
Andreas Jaeger d4b0774fc6 Update.
2000-08-21  Andreas Jaeger  <aj@suse.de>

	* include/poll.h: Include include/sys/poll.h to get __poll
	declaration.

	* io/sys/poll.h: Move __poll declaration from here...
	* include/sys/poll.h: ...to here.

	* include/sys/socket.h (__getpeername): Add declaration.

	* include/wchar.h (__vswprintf): Add declaration.

	* include/stdio.h (__flockfile): Add declaration.
	(__funlockfile): Likewise.
2000-08-21 16:02:48 +00:00
Ulrich Drepper 98cbe360d9 Update.
* misc/sys/cdefs.h: Define __restrict_arr.
	* include/sys/time.h: Add restrict where required by AGd4.
	* inet/arpa/inet.h: Likewise.
	* io/sys/stat.h: Likewise.
	* io/sys/statvfs.h: Likewise.
	* misc/search.h: Likewise.
	* misc/sys/select.h: Likewise.
	* posix/glob.h: Likewise.
	* posix/regex.h: Likewise.
	* posix/spawn.h: Likewise.
	* posix/unistd.h: Likewise.
	* rt/aio.h: Likewise.
	* signal/signal.h: Likewise.
	* socket/sys/socket.h: Likewise.
	* stdlib/ucontext.h: Likewise.
	* streams/stropts.h: Likewise.
	* string/string.h: Likewise.
	* time/time.h: Likewise.
	* time/sys/time.h: Likewise.

	* posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
	and posix_spawnattr_setscheparam.

	* libio/stdio.h: Make cuserid prototype again available for all
	XPG versions.
2000-08-21 06:49:52 +00:00
Ulrich Drepper 4aebaa6bd9 Update.
* argp/argp-help.c: Unify use of function aliases to make more compact
	PLT.
	* include/libintl.h: Likewise.
	* inet/rcmd.c: Likewise.
	* intl/dcigettext.c: Likewise.
	* libio/iofputws.c: Likewise.
	* libio/iofputws_u.c: Likewise.
	* libio/iogetwline.c: Likewise.
	* libio/swprintf.c: Likewise.
	* malloc/malloc.c: Likewise.
	* nss/digits_dots.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/spawn_faction_addclose.c: Likewise.
	* posix/spawn_faction_adddup2.c: Likewise.
	* posix/spawn_faction_addopen.c: Likewise.
	* posix/spawni.c: Likewise.
	* posix/wordexp.c: Likewise.
	* posix/spawni.c: Likewise.
	* resolv/res_hconf.c: Likewise.
	* resolv/res_init.c: Likewise.
	* shadow/lckpwdf.c: Likewise.
	* signal/sighold.c: Likewise.
	* signal/sigrelse.c: Likewise.
	* stdio-common/printf-parse.h: Likewise.
	* stdio-common/printf-prs.c: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* stdlib/rpmatch.c: Likewise.
	* sunrpc/create_xid.c: Likewise.
	* sunrpc/key_call.c: Likewise.
	* sysdeps/generic/setrlimit64.c: Likewise.
	* sysdeps/generic/utmp_file.c: Likewise.
	* sysdeps/generic/vlimit.c: Likewise.
	* sysdeps/posix/posix_fallocate.c: Likewise.
	* sysdeps/posix/posix_fallocate64.c: Likewise.
	* sysdeps/posix/sigpause.c: Likewise.
	* sysdeps/posix/sigset.c: Likewise.
	* sysdeps/unix/grantpt.c: Likewise.
	* sysdeps/unix/bsd/ualarm.c: Likewise.
	* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
	* sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
	* sysdeps/unix/sysv/linux/ulimit.c: Likewise.
	* time/strftime.c: Likewise.
	* wcsmbs/wcscoll.c: Likewise.
	* wcsmbs/wcsxfrm.c: Likewise.

	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
	postinc/predec instruction.
2000-08-21 04:18:25 +00:00
Ulrich Drepper a785f6c56e Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* time/tst-getdate.c (main): Make error messages more human readable.

	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
	postinc/postdec instruction.
	(_FPU_SETCW): Likewise.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-20 17:08:29 +00:00
Andreas Jaeger 7a66c585c3 Update.
2000-08-20  Andreas Jaeger  <aj@suse.de>

	* time/tst-getdate.c (main): Increase error in case of wrong
	conversion.
	Fix typo in test case.
2000-08-20 10:28:33 +00:00
Ulrich Drepper 00d8bc81a9 Update.
* ctype/ctype.h (isblank): Make available if ISO C99.
	* wctype/wctype.h (iswblank): Make available if ISO C99.
	* math/math.h (signgam): Don't make available if ISO C99.
	* math/tgmath.h (tgamma): Renamed from gamma.
	Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-08-20 08:37:13 +00:00
Ulrich Drepper 2f599545f5 Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
	Pretty printing.
	* intl/plural.y (new_exp): Take number of optional parameters in
	second parameter.  Test for correct number of parameters and free
	correctly in case of failure.  Adjust all callers.
	(yylex): Allow ';' as terminator character.
2000-08-20 08:24:10 +00:00
Ulrich Drepper 9b02e86850 Update.
* locale/lc-time.c (free_mem): New function.  Free alt_digits and
	walt_digits.
2000-08-20 06:10:09 +00:00
Ulrich Drepper f1ba489ec8 Update.
* locale/findlocale.c (free_mem): Also free here->filename.

	* locale/loadlocale.c (_nl_unload_locale): Also free locale->name.

	* malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2000-08-20 04:56:14 +00:00
Ulrich Drepper 6145e82330 Update.
2000-08-19  Ulrich Drepper  <drepper@redhat.com>

	* math/test-fenv.c (feenv_tests): Clear all exceptions before
	first test.
	(feexcp_nomask_test): Correct printf args.
	(feexcp_mask_test): Likewise.
2000-08-19 18:33:24 +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
Ulrich Drepper 60f0e64b3c Update.
* malloc/mtrace.pl (usage): Inform about --help.

2000-08-19  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (new_heap): try harder to get an aligned chunk of
	size HEAP_MAX_SIZE.

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

	* shlib-versions: Remove libnss_db, libdb and libdb1.

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

	* sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
	* sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
	* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
	* sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
	* sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
	* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
	* sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
	* sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
	* sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
	* sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
	getdents.
	* sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
	* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.

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

	* include/glob.h (__glob64): Add prototype.
	* sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
	define glob and glob_in_dir.
	* sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
	* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
	* sysdeps/unix/sysv/linux/i386/glob64.c: New file.
	* sysdeps/unix/sysv/linux/arm/glob64.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.

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

	* malloc/Makefile (memusage): libmemusage.so is installed in slibdir.

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

	* math/test-fenv.c (fe_single_test): New function.
	(fe_env_tests): Use fe_single_test.
	(feenable_test): New tests for feenable/fedisable and
	fegetexcpetions.
	(feexcp_mask_test): New function.
	(feexcp_nomask_test): New function.

2000-08-19  Richard Henderson  <rth@cygnus.com>

	* sysdeps/alpha/fpu/fenv_libc.h: New file.
	* sysdeps/alpha/fpu/fclrexcpt.c: Use it.
	* sysdeps/alpha/fpu/fegetenv.c: Likewise.
	* sysdeps/alpha/fpu/fesetround.c: Likewise.
	* sysdeps/alpha/fpu/fegetround.c: Likewise.
	* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/alpha/fpu/ftestexcept.c: Likewise.
	* sysdeps/alpha/fpu/fedisblxcpt.c: Likewise.  Use the smaller mask.
	* sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
	* sysdeps/alpha/fpu/fegetexcept.c: Likewise.
	* sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
	* sysdeps/alpha/fpu/fesetenv.c: Likewise.
	* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
	* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
	(FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.

2000-08-19  Andreas Jaeger  <aj@suse.de>
2000-08-19 16:58:09 +00:00
Andreas Jaeger f3322bec03 Update.
2000-08-19  Andreas Jaeger  <aj@suse.de>

	* elf/constload1.c: Include <stdio.h> for puts prototype.
2000-08-19 08:31:02 +00:00
Ulrich Drepper 752a2a50d4 Update.
2000-08-19  Ulrich Drepper  <drepper@redhat.com>

	* elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
	* elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
	a dynamically loaded object remove old l_initfini list.
	* elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
	remove some dynamically allocated memory blocks in the dynamic
	loading data structures.
	* elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
	* elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
	Instead call _dl_check_map_versions only for the dependencies.
	* elf/rtld.c: Avoid unneccessary initializations.  Mark l_libname
	information of initial objects as not free-able.
	* sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
	element.

	* elf/filter.c: Call mtrace.
	* elf/restest1.c: Likewise.  Close the objects.
	* elf/loadtest.c: Call mtrace.  Check result of dlclose.  Print more
	debug information.

	* elf/constload1.c: Add comment explaining not freed memory.
2000-08-19 07:17:09 +00:00
Andreas Jaeger a0c9a28b7c Update.
2000-08-18  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
	alignment for structs stat and stat64.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-18 06:11:30 +00:00
Ulrich Drepper 09970c4efd Update.
* sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
	handling.  Patch by Richard Henderson <rth@twiddle.net>.
2000-08-18 00:11:06 +00:00
Ulrich Drepper de9bd68567 Update.
2000-08-17  Ulrich Drepper  <drepper@redhat.com>

	* nss/Versions: Remove libnss_db information.
2000-08-17 21:05:34 +00:00
Ulrich Drepper 4c4b95182b Update.
2000-08-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/fpu/fedisblxcpt.c: New file.
	* sysdeps/sparc/fpu/feenablxcpt.c: New file.
	* sysdeps/sparc/fpu/fegetexcept.c: New file.
	* sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.

	* sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
	to match Solaris.
2000-08-17 20:38:57 +00:00
Ulrich Drepper 319b400bb5 Update.
* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
	(_FPU_SETCW): Likewise.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-17 20:31:43 +00:00
Ulrich Drepper 0f6b172f72 Update.
2000-08-17  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/printf_fp.c: Fix chars_needed computation.
	Patch by Greg McGary <greg@mcgary.org>.

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

	* elf/dl-load.c (_dl_map_object): Don't crash if both loader and
	_dl_loaded are NULL.

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

	* manual/arith.texi (feholdexcept): Returns 0 on success.

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

	* sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
	(ifr_newname): New.
	Reported by Andi Kleen <ak@suse.de>.

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

	* sysdeps/alpha/fpu/fedisblxcpt.c: New file.
	* sysdeps/alpha/fpu/feenablxcpt.c: New file.
	* sysdeps/alpha/fpu/fegetexcept.c: New file.

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

	* sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
	of buf->st_ino and kbuf->st_ino, not __st_ino.
	If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
	* sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
	directive so that only linux/getdents.c is used, not some
	architecture specific one.

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

	* sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
	enabled, not disabled exceptions.
	* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
	* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.

	($(addprefix $(objpfx),$(tests)),
	$(addprefix $(objpfx),$(librt-tests))):
	* include/link.h: Undo last patches.  Hurd now has stat64.
2000-08-17 19:36:13 +00:00
Greg McGary e64911d1d6 Update.
2000-08-17  Greg McGary  <greg@mcgary.org>

	* Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
	from test program name when constructing suffix for $(LDLIBS-*).
	(bounded-thread-library): New variable.
	* crypt/Makefile
	[build-shared, build-static] (libcrypt-dep): Remove variable.
	($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
	[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
	* linuxthreads/Makefile (libpthread, librt): Remove variables.
	(librt-tests): Add variable.  (tests): Use it.
	[build-shared, build-static]
	($(addprefix $(objpfx),$(tests)), $(addprefix $(objpfx),$(librt-tests))):
	Consolidate individual dependencies.
	[build-bounded]
	($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
	Add dependencies.
	* math/Makefile (LDLIBS-*): Remove variables (they are redundant).
	[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
	* misc/Makefile
	[build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
	* rt/Makefile
	[build-shared, build-static]
	($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
	[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.

2000-08-17  Greg McGary  <greg@mcgary.org>

	* sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
	* sysdeps/unix/make-syscalls.sh: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.

2000-08-17  Greg McGary  <greg@mcgary.org>

	* sysdeps/i386/fpu/s_frexp.S: Check bounds.
	Wrap extern symbols in BP_SYM ().
	* sysdeps/i386/fpu/s_frexpf.S: Likewise.
	* sysdeps/i386/fpu/s_frexpl.S: Likewise.
	* sysdeps/i386/fpu/s_remquo.S: Likewise.
	* sysdeps/i386/fpu/s_remquof.S: Likewise.
	* sysdeps/i386/fpu/s_remquol.S: Likewise.
	* sysdeps/i386/fpu/s_sincos.S: Likewise.
	* sysdeps/i386/fpu/s_sincosf.S: Likewise.
	* sysdeps/i386/fpu/s_sincosl.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2000-08-17 07:38:02 +00:00
Andreas Schwab 9a81430bf9 * sysdeps/m68k/fpu/fegetexcept.c: New file. * sysdeps/m68k/fpu/fedisblxcpt.c: New file. * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2000-08-16  Andreas Schwab  <schwab@suse.de>

	* sysdeps/m68k/fpu/fegetexcept.c: New file.
	* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
	* sysdeps/m68k/fpu/feenablxcpt.c: New file.
2000-08-16 15:08:45 +00:00
Ulrich Drepper 1ebba33ece Update.
2000-08-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
	* elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
	* elf/dl-support.c: Define _nl_nloaded.
	* elf/rtld.c: Likewise.  Increment _nl_nloaded for rtld itself.
	* elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
	object to global list.
	* elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
	from _dl_loaded list.
	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
	* elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
	number here.

	* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
	unmask, exceptions.
	* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
	exceptions.
	Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2000-08-16 06:30:08 +00:00
Andreas Jaeger 6784ab920b Update.
2000-08-16  Andreas Jaeger  <aj@suse.de>

	* elf/elf.h (EM_X8664): Add official x86-64 specific value.
2000-08-16 05:40:56 +00:00
Ulrich Drepper 9df7693376 Update.
2000-08-15  Marko Myllynen  <myllynen@lut.fi>

	* inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2000-08-16 02:05:38 +00:00
Ulrich Drepper 3a41e72395 Update.
* sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
	* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
	(sysdep_routines): Add oldgetrlimit64.
	* sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
	Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-08-16 01:40:12 +00:00
Ulrich Drepper 5763742fc7 Update.
2000-08-15  Ulrich Drepper  <drepper@redhat.com>

	* include/link.h: Undo last patches.  Hurd now had stat64.
	* elf/Makefile: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-misc.c: Likewise.
	* elf/dl-profile.c: Likewise.
	* sysdeps/generic/sysd-link.h: Removed.
	* sysdeps/unix/sysv/linux/sysd-link.h: Removed.

	* rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
	thread event callback function.
	(__aio_notify_only): Use function above.
	Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2000-08-16 01:28:07 +00:00
Mark Kettenis dee6b86d37 * sysdeps/mach/hurd/lseek64.c: New file.
2000-08-16  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/lseek64.c: New file.
2000-08-16 00:19:33 +00:00
Mark Kettenis 724000bc4a * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
	Remove typedefs.
	* sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
	typedefs.
	* sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
	typedefs.
	* sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>
2000-08-15 19:01:50 +00:00
Mark Kettenis fd811dc69a * sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file. * sysdeps/mach/hurd/lxstat64.c: New file. * sysdeps/mach/hurd/xstat64.c: New file. * sysdeps/mach/hurd/Dist: Add xstatconv.c.
* sysdeps/mach/hurd/xstatconv.c: New file.
	* sysdeps/mach/hurd/fxstat64.c: New file.
	* sysdeps/mach/hurd/lxstat64.c: New file.
	* sysdeps/mach/hurd/xstat64.c: New file.
	* sysdeps/mach/hurd/Dist: Add xstatconv.c.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>
2000-08-15 18:47:06 +00:00
Mark Kettenis 3142475c1a * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): Initialize, needed for change in common symbol handling in newer binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2000-08-15  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
	Initialize, needed for change in common symbol handling in newer
	binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.
2000-08-15 16:25:27 +00:00
Ulrich Drepper 805d2e7d47 Update.
* elf/constload1.c: Call mtrace.  Check return value of dlclose call.
	* elf/constload2.c: Add destructor to unload constload3.
2000-08-15 08:23:49 +00:00
Ulrich Drepper fc7f617d30 Update.
* include/link.h: Include sysd-link.h.
	* sysdeps/generic/sysd-link.h: New file.
	* sysdeps/unix/sysv/linux/sysd-link.h: New file.
	* elf/Makefile (distribute): Add sysd-link.h.
	* elf/dl-load.c: Use definitions from sysd-link.h instead of stat
	types and functions directly.
	* elf/dl-misc.c: Likewise.
	* elf/dl-profile.c: Likewise.

	* elf/loadfail.c (main): Close all successfully loaded objects.
2000-08-15 08:06:15 +00:00
Ulrich Drepper 07a3d63e52 Update.
2000-08-15  Ulrich Drepper  <drepper@redhat.com>

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

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

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

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

	* iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
	mapping them to /x5c and /x7e respectively.
2000-08-15 06:12:25 +00:00
Ulrich Drepper a6bd56c753 Update.
2000-08-14  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c: Add support for more definitions after
	copy statement.
2000-08-14 18:58:08 +00:00
Ulrich Drepper 14860991fc Update.
2000-08-14  Jakub Jelinek  <jakub@redhat.com>

	* dirent/Versions (getdirentries64): Export at GLIBC_2.2.
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_GETDENTS64_SYSCALL): Define.
	* sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
	syscall if available to get d_type fields.
	* sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
	* sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
	__lxstat64): Export at GLIBC_2.2.
	(alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
	Likewise.
	* sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
	* sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
	* sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
	getdirentries64, versionsort64): Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
	getdirentries64, versionsort64): Remove.
2000-08-14 17:41:59 +00:00
Ulrich Drepper 47b853e801 Update.
2000-08-13  Ulrich Drepper  <drepper@redhat.com>

	* posix/Makefile: Remove rules to generate glob package.

	* posix/Makefile (tests): Add tst-regexloc.
	(tst-regexloc-ENV): Add LOCPATH.
	* posix/tst-regexloc.c: New file.
2000-08-14 06:17:28 +00:00
Ulrich Drepper 91bc38d09c Update.
2000-08-12  Andreas Jaeger  <aj@suse.de>

	* include/features.h (__STDC_ISO_10646__): Define.
	Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.

	* include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.

	* locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
	for revision 6 and up).

	* posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
	including <time.h>.
	* time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
	to get definitions of just these types.

	* signal/signal.h: Define thread signal handling functions also for
	POSIX95.

	* sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
	POSIX95.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

	* sysvipc/sys/shm.h: Define pid_t for XPG.

	* wcsmbs/wchar.h: Make the various wide char string and stream
	functions available for the respective XPG versions.
2000-08-14 04:57:27 +00:00
Ulrich Drepper 8de72f531e Update.
* posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
	they are not anymore required here.
2000-08-14 02:10:26 +00:00
Ulrich Drepper 7e3399b393 Update.
* nss/Makefile: Remove rules to build and distribute nss_db.

	* sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
	* sysdeps/generic/scandir64.c: Likewise.
	* sysdeps/generic/versionsort64.c: Likewise.

2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2000-08-14 00:57:30 +00:00
Ulrich Drepper 319d719d86 Update.
2000-08-13  Ulrich Drepper  <drepper@redhat.com>
	    Benjamin Koznik  <bkoz@redhat.com>

	* libio/fileops.c: Merge with libstdc++-v3.
	* libio/genops.c: Likewise.
	* libio/iofclose.c: Likewise.
	* libio/iofopen.c: Likewise.
	* libio/iofwide.c: Likewise.
	* libio/libio.h: Likewise.
	* libio/libioP.h: Likewise.
	* libio/stdfiles.c: Likewise.
	* libio/stdio.c: Likewise.
	* libio/wfileops.c: Likewise.
	* libio/wgenops.c: Likewise.

	* libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2000-08-13 18:18:28 +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 8868f97b04 Update.
2000-08-12  Ulrich Drepper  <drepper@redhat.com>

	* posix/regex.c (compile_range): Implement collation sequence
	handling for glibc.  Use simple character ordering otherwise and
	not strcoll.
2000-08-13 06:38:11 +00:00
Ulrich Drepper 451fc03299 Update.
2000-08-12  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/generic/scandir64.c: Include <dirent.h>.
2000-08-12 22:20:07 +00:00
Ulrich Drepper 2390667ff2 Update.
2000-08-12  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
	__USE_FILE_OFFSET64 correctly for locking.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2000-08-12 22:17:43 +00:00
Ulrich Drepper 00c02822b8 Update.
2000-08-12  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
	Define for 2.4.1 on sparc as well.
	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
	for F_GETLK64, F_SETLK64, and F_SETLKW64.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2000-08-12 22:08:19 +00:00
Andreas Jaeger facd11c28e Update.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
	F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2000-08-12 10:01:20 +00:00
Andreas Jaeger e762517de2 Update.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
	mips2 for assembler.
2000-08-12 09:31:31 +00:00
Ulrich Drepper 977588cd93 Update.
2000-08-12  Ulrich Drepper  <drepper@redhat.com>

	* io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
	defined.
2000-08-12 08:42:47 +00:00
Ulrich Drepper 590a63937a Update.
2000-08-12  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
	if fnctl64 is not available for F_*LK*64.

	* sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2000-08-12 08:39:46 +00:00
Ulrich Drepper 21f6a10036 Update.
2000-08-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
	Define for 2.4.1 on x86.
	* sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
	for F_GETLK64, F_SETLK64, and F_SETLKW64.

	* dirent/dirent.h: Define DT_WHT.

	* sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
	* sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
	* sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
	* sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2000-08-12 08:22:14 +00:00
Ulrich Drepper 11a9c0ce08 Update.
* inet/Makefile (tests): Add tst-gethnm.
	* inet/tst-gethnm.c: New file.
2000-08-12 06:52:46 +00:00
Ulrich Drepper 8337f053bf Update.
* nss/digits_dots.c: Don't pass NULL in h_aliases for successful
	lookup, pass pointer to array with NULL pointer [PR libc/1858].
2000-08-12 06:42:00 +00:00
Ulrich Drepper 56ddf355da Update.
2000-08-11  Ulrich Drepper  <drepper@redhat.com>

	* rt/aio_cancel.c: If canceling a specific request which is running
	*really* do nothing.
	* rt/aio_misc.h: Add `done' to states of a request.
	* rt/aio_misc.c: Add several tests for the correct state.
	Simplify request table memory handling.

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

	* dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
	* dirent/scandir64.c: Move...
	* sysdeps/generic/scandir64.c: ...here.
	* dirent/alphasort64.c: Move...
	* sysdeps/generic/alphasort64.c: ...here.
	* dirent/versionsort64.c: Move...
	* sysdeps/generic/versionsort64.c: ...here.
	* sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
	getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
	Export symbols at GLIBC_2.2.
	* sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
	* include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
	__versionsort64): Add prototypes.
	* io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
	* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
	unused prototype.
	* sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
	and GLIBC_2.2.
	* sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/getdents.c: New.
	* sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
	* sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
	__u_quad_t.
	* sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
	Adjust for kernel-2.4.0-test6 layout.
	* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
	GLIBC_2.1 and GLIBC_2.2.
	* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/i386/getdents64.c: New.
	* sysdeps/unix/sysv/linux/i386/olddirent.h: New.
	* sysdeps/unix/sysv/linux/i386/readdir64.c: New.
	* sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
	* sysdeps/unix/sysv/linux/i386/scandir64.c: New.
	* sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
	* sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
	* sysdeps/unix/sysv/linux/ia64/getdents.c: New.
	* sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
	* sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
	* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
	* sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
	__u_quad_t.
	* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
	* sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
	* sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
	* sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
	* sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
	* sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
	__u_quad_t.
	* sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
	* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
	Define.
	* sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
	Define.
	* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
	alpha/readdir.c.
	* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
	alpha/readdir_r.c
	* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
	* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
	_HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
	st_ino from __st_ino.
	* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
	xstat32_conv): Use _HAVE_STAT* macros.  If _HAVE_STAT64___ST_INO,
	set __st_ino in addition to st_ino.
	* sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
	* sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
	__old_getdents64 as well.
	* sysdeps/unix/sysv/linux/getdirentries.c: Use it for
	getdirentries64 and old_getdirentries64 as well.
	* sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
	__GETDENTS): Define.
	(GETDENTS64): Remove.
	* sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
	Define.
	(GETDENTS64): Remove.
	* sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
	* sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
	* sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
	as well.
	* sysdeps/unix/readdir_r.c: Use it for readdir64_r and
	__old_readdir64_r as well.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.

	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2000-08-12 05:14:52 +00:00
Ulrich Drepper 1a5b42af05 Update.
2000-08-08  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL
	define.
	Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
	define of the kernel.
	Add missing __SEG_PSTKOVF definition.
	Adjust the padding of struct siginfo and struct sigevent to
	match the fact that sigval_t is 64 bit.
2000-08-10 22:11:27 +00:00