Commit Graph

6951 Commits

Author SHA1 Message Date
Roland McGrath
3de33da93f * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
instead of the constant NGROUPS_MAX.  That way, the limit can be
	raised in the kernel configuration without having to recompile libc.

	* sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
	define NGROUPS_MAX; we don't use it here.
2001-04-17 03:34:20 +00:00
Roland McGrath
cb21f24212 2001-04-16 Roland McGrath <roland@frob.com>
* sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
	define NGROUPS_MAX; we don't use it here.
2001-04-17 03:33:58 +00:00
Andreas Jaeger
8c4b05d02f Update.
* math/libm-test.inc (atan2_test): Add more testcases.
2001-04-16 18:04:22 +00:00
Andreas Jaeger
27cffd27d7 Update.
2001-04-16  Andreas Jaeger  <aj@suse.de>

	* iconv/gconv_db.c: Include gconv_charset.h for
	__gconv_lookup_alias prototype.
2001-04-16 15:22:10 +00:00
Andreas Jaeger
c3afcb6aec Include gconv_charset.h for __gconv_lookup_alias prototype. 2001-04-16 15:21:51 +00:00
Ulrich Drepper
cd2209eed5 Update.
2001-04-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
	Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-04-14 00:36:36 +00:00
Ulrich Drepper
355561ef14 Update.
* intl/tst-codeset.c: Include string.h to get prototype for strcmp().

2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2001-04-13 22:42:45 +00:00
Ulrich Drepper
acc8ad639f Update.
2001-04-13  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
	explicitly pad struct siginfo instead of relying on compiler padding.
2001-04-13 17:26:32 +00:00
Ulrich Drepper
c4103b3480 Update.
2001-04-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/Dist: Add elf/entry.h.

	* iconvdata/Makefile (distribute): Add TESTS2.
2001-04-13 04:12:32 +00:00
Ulrich Drepper
a08877d0e0 Update.
2001-04-13  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
	Calculate load address differently.
2001-04-12 23:09:44 +00:00
Ulrich Drepper
b775be640a Update.
* sysdeps/i386/Makefile: Make sure gcc uses a frame pointer for
	all the files which use CURRENT_STACK_FRAME.
2001-04-12 23:03:41 +00:00
Ulrich Drepper
b721a2c03c Update.
2001-04-12  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/TESTS2: New file.
	* iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
	* iconvdata/testdata/alfabeta..UTF-8: New file.
	* iconvdata/testdata/alfabeta..UTF-16.BE: New file.
	* iconvdata/testdata/alfabeta..UTF-16.LE: New file.
	* iconvdata/testdata/alfabeta..UTF-32.BE: New file.
	* iconvdata/testdata/alfabeta..UTF-32.LE: New file.

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

	* iconvdata/utf-32.c: New file.
	* iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
	* iconvdata/Makefile (modules): Add UTF-32.
	(distribute): Add utf-32.c.

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

	* iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
	changing it in the state. After incrementing 'inptr', store it back.
	* iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
	store it back.

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

	* iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
	MIN_NEEDED_FROM.
2001-04-12 20:26:40 +00:00
Ulrich Drepper
9dd7309cee Update.
* Makefile (tests): Comment out tst-cancel for now.
2001-04-12 04:45:10 +00:00
Ulrich Drepper
7d4c3e67b4 Update.
2001-04-11  Ulrich Drepper  <drepper@redhat.com>

	* tst-cancel.c (main): Cleanup 4 is supposed to run.  Create
	temporary file in object directory.
	* Makefile: Don't allow inlining when compiling tst-cancel.c.
	Pass $(objpfx) to tst-cancel.
2001-04-12 02:29:04 +00:00
Ulrich Drepper
43df859b95 Update.
2001-04-11  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/pt-machine.h (stack_pointer): Advance
	up closer to user local variables so that new cleanup heuristics work.
	* sysdeps/sparc/sparc64/pt-machine.h (stack_pointer): Likewise.
2001-04-11 23:01:06 +00:00
Ulrich Drepper
95fe9d959f Update.
2001-04-11  Ulrich Drepper  <drepper@redhat.com>

	* cancel.c (_pthread_cleanup_push): Catch invalid __prev buffer
	and remove it.
	(_pthread_cleanup_push_defer): Likewise.

	* tst-cancel.c (main): Fix loop printing cleanup output.
2001-04-11 21:29:54 +00:00
Ulrich Drepper
8ee3551551 Update.
2001-04-11  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/htonl.S: Drop superfluous "alloc".
	* sysdeps/ia64/htons.S: Likewise.

	* sysdeps/ia64/memset.S: Add unwind directives.
	* sysdeps/ia64/strncpy.S: Likewise.
	* sysdeps/ia64/strcat.S: Likewise.

	* sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
	restore of ar.pfs.
	* sysdeps/ia64/strchr.S: Likewise.
	* sysdeps/ia64/memmove.S: Likewise.
	* sysdeps/ia64/memcpy.S: Likewise.
	* sysdeps/ia64/memcmp.S: Likewise.
	* sysdeps/ia64/memchr.S: Likewise.
	* sysdeps/ia64/strcmp.S: Likewise.
	* sysdeps/ia64/strlen.S: Likewise.
	* sysdeps/ia64/strcpy.S: Likewise.
	* sysdeps/ia64/strncmp.S: Likewise.
2001-04-11 19:57:49 +00:00
Ulrich Drepper
87d5c92d11 Update.
2001-04-11  Jakub Jelinek  <jakub@redhat.com>

	* wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
	fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
	fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
	fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2001-04-11 16:16:08 +00:00
Ulrich Drepper
21848d0b73 (fgetwc, getwc, getwchar, fputwc, putwc, putwchar, fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked, fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked, fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW. 2001-04-11 16:13:56 +00:00
Andreas Jaeger
6f509da60b Update.
2001-04-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2001-04-11 11:56:52 +00:00
Andreas Jaeger
ccb20c4461 [__ASSEMBLY__]: Define it. 2001-04-11 11:56:35 +00:00
Andreas Schwab
9af328b6c1 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted. 2001-04-11 08:33:26 +00:00
Andreas Schwab
3fe802ca92 Adjusted. 2001-04-11 08:33:14 +00:00
Ulrich Drepper
26e01c8a52 Update.
2001-04-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/arm/stackinfo.h: New file.
2001-04-11 07:36:19 +00:00
Ulrich Drepper
9860e47f75 Update.
2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2001-04-11 07:05:12 +00:00
Ulrich Drepper
337c27f9bb Update.
22001-04-08  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/rpc_main.c: If we compile RPC thread safe, allow
	rpcgen to generate thread safe code.
2001-04-11 05:46:16 +00:00
Andreas Jaeger
59bcae17c7 Update.
2001-04-10  Andreas Jaeger  <aj@suse.de>

	* math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2001-04-11 05:42:53 +00:00
Andreas Jaeger
efff4ab3c1 (initial_tests): Protect FE_TONEAREST declaration. 2001-04-11 05:42:38 +00:00
Ulrich Drepper
b982085b4d If we compile RPC thread safe, allow rpcgen to generate thread safe code. 2001-04-11 05:42:12 +00:00
Ulrich Drepper
28966366a2 Update.
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-minimal.c (__assert_fail): Change error string.  It's
	most of the time no bug in ld.so.
	(__assert_perror_fail): Likewise.
2001-04-11 04:53:37 +00:00
Ulrich Drepper
122dbcec35 Update.
2001-04-11  Hans-Peter Nilsson  <hp@axis.com>

	* sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
	from struct to unsigned int.
2001-04-11 04:45:43 +00:00
Ulrich Drepper
390911beb3 Update.
2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
	AT_IGNOREPPC): New defines.
	* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
	Define for newer powerpc kernels.
	* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
	DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2001-04-11 04:42:14 +00:00
Ulrich Drepper
07bccb4670 Update.
2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/stackinfo.h: New file.
2001-04-11 03:00:52 +00:00
Ulrich Drepper
671ab00dcc Update.
* locale/tst-C-locale.c (run_test): Add tests for locale objects.
	* locale/newlocale.c (__newlocale): Correct setting __ctype_b,
	__ctype_tolower, and __ctype_toupper elements.
2001-04-11 01:07:57 +00:00
Ulrich Drepper
7e3f28752e Update.
* ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
	Reported by Konstantin Osipov <rabid@spylog.ru>.
2001-04-11 00:35:56 +00:00
Ulrich Drepper
951d5dd80f Update.
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
	the lousy AMD FPU.

2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.

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

	* elf/dl-deps.c (_dl_map_object_deps): Provide complete error
	message.  Based on a patch by HJ Lu.
2001-04-11 00:29:09 +00:00
Ulrich Drepper
c88dcdce0d Update. 2001-04-10 23:37:11 +00:00
Ulrich Drepper
b63c4b5f48 Update.
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/Versions: Export
	__libc_ia64_register_backing_store_base.
2001-04-10 23:35:32 +00:00
Ulrich Drepper
a16956f331 Update.
2001-04-10  Andreas Schwab  <schwab@suse.de>

	* math/libm-test.inc (csinh_test): Don't require the invalid
	exception for csinh (x + iNaN), but make it optional.

2001-04-09  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/elf/start.S (_start): Add unwind directives.

	* sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
	* sysdeps/ia64/elf/entry.h: New file.
	* sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
	__start.
	* elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
	of &ENTRY_POINT.
	* sysdeps/generic/dl-sysdep.c: Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
	* sysdeps/ia64/elf/start.S: Save base address of register backing
	store in __libc_ia64_register_backing_store_base.
2001-04-10 23:12:08 +00:00
Ulrich Drepper
58f46c794a Update.
2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
	value of getcontext.
	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
	value of setcontext.
	* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
	call by changing the saved context.
2001-04-10 21:46:48 +00:00
Ulrich Drepper
bf9d1166a0 Update.
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/stackinfo.h: New file.
	* sysdeps/ia64/stackinfo.h: New file.
2001-04-10 20:53:40 +00:00
Ulrich Drepper
93ea98319f Stack information for Alpha. 2001-04-10 20:50:54 +00:00
Andreas Schwab
d2784f806c * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
values. 
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
2001-04-10  Andreas Schwab  <schwab@suse.de>

	* sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
	values.
	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
2001-04-10 19:58:52 +00:00
Ulrich Drepper
9deee4bb2a Update.
* sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
	* sysdeps/sparc/sparc64/Dist: Add hp-timing.c.

2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2001-04-10 04:47:50 +00:00
Ulrich Drepper
1dc843f70a Update.
2001-04-09  Ulrich Drepper  <drepper@redhat.com>

	* libio/Makefile (distribute): Add fd_to_filename.h.
2001-04-10 03:10:20 +00:00
Ulrich Drepper
c44a663dca Update.
2001-04-05  David S. Miller  <davem@redhat.com>

	Add hp-timing support for sparcv9/sparc64 targets.
	* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
	* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
	* sysdeps/sparc/sparc64/hp-timing.c: New file
	* sysdeps/sparc/sparc64/hp-timing.h: New file
	* sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
	* sysdeps/sparc/sparc64/Makefile: Likewise.

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

	* sysdeps/generic/fd_to_filename.h: New file.
	* sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
	* libio/freopen.c (freopen): If FILENAME is NULL, try to get
	filename from the open file descriptor.
	* libio/freopen64.c (freopen64): Likewise.

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

	* misc/error.c (error): fflush stdout also if
	error_print_progname != NULL.
	(error_at_line): Likewise.

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

	* intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
	(struct binding): Add codeset_cntr field.
	(_nl_load_domain): Add domainbinding argument.
	(_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
	(_nl_find_msg): New declaration, moved here from loadinfo.h.
	* intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
	(_nl_make_l10nflist): Remove domainbinding argument.
	(_nl_find_msg): Move declaration to gettextP.h.
	* intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
	to 0.  Increment it when ->codeset is changed.
	* intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
	(_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
	if domainbinding->codeset_cntr has been incremented.
	* intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
	_nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
	* intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
	* intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
	 from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
	(_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
	(_nl_load_domain): Add domainbinding argument.  Call
	_nl_init_domain_conv.
	(_nl_unload_domain): Call _nl_free_domain_conv.
	* intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
	(test-srcs): Add tst-codeset.
	(tests): Depend on tst-codeset.out.
	(tst-codeset.out): New rule.
	(CFLAGS-tst-codeset.c): New variable.
	* intl/tst-codeset.sh: New file.
	* intl/tstcodeset.po: New file.
	* intl/tst-codeset.c: New file.
	* locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
	calls.
2001-04-10 00:15:08 +00:00
Ulrich Drepper
f66d7d4f0d Recognize documentation of obsolete functions. 2001-04-09 23:15:45 +00:00
Roland McGrath
7119ea6d26 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2001-03-31  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
	copying send rights into child.  When we hit our name for our proc
	port, just copy NEWPROC directly instead of repeating proc_task2proc
	to install the child's port.

2001-04-08  Roland McGrath  <roland@frob.com>

	* Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
	in second column, to provide default values for third column.
	* shlib-versions: Add comments about using DEFAULT in second column.
	(s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
	(cris-.*-linux.*): Likewise.
2001-04-09 21:24:34 +00:00
Roland McGrath
6c2a1e8156 2001-04-07 Roland McGrath <roland@frob.com>
* mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2001-04-09 21:23:38 +00:00
Ulrich Drepper
dda7bd8459 Add comments about using DEFAULT in second column. (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry. 2001-04-09 20:23:20 +00:00