Commit Graph

12765 Commits

Author SHA1 Message Date
Ulrich Drepper
8930fcf9be Update.
2004-09-29  Jakub Jelinek  <jakub@redhat.com>

	* time/tzfile.c (tzfile_mtime): New variable.
	(__tzfile_read): Reread the file if mtime is different.

2004-09-28  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim):
	Handle +inf/+inf.
	* sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
	* sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
2004-09-30 06:16:50 +00:00
Ulrich Drepper
af38d7ce63 Update.
2004-09-29  Ulrich Drepper  <drepper@redhat.com>

	* nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for
	testing result of __nscd_get_map_ref.
2004-09-30 05:16:40 +00:00
Ulrich Drepper
7ff2ba908a Update.
2004-09-29  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf.
	* sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise.
	* sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise.

004-09-29  Ulrich Drepper  <drepper@redhat.com>
2004-09-30 02:56:42 +00:00
Ulrich Drepper
f7e7a39681 Update.
* grp/initgroups.c: Move compat_call implementation...
	* grp/compat-initgroups.c: ...to here.  New file.
	* grp/Makefile (distribute): Add compat-initgroups.c.
	(CFLAGS-initgroups.c): Add -DUSE_NSCD=1.
	* mscd/initgrcache.c: New file.
	* nscd/nscd_initgroups.c: New file.
	* nscd/Makefile (routines): Add nscd_initgroups.
	(nscd-modules): Add initgrcache.
	* nscd/cache.c (prune_cache): Add support for INITGROUPS entries.
	* nscd/connections.c: Handle INITGROUPS requests.
	* nscd/nscd-client.h: Define INITGROUPS, initgr_response_header.
	Add initgrdata element to struct datahead.  Fix typo in comment.
	* nscd/nscd_proto.h: Declare __nscd_getgrouplist.  Fix parameter
	type in __nscd_getgrgrid_r.
	* nscd/selinux.c (perms): Add INITGROUPS entry.

	* nscd/nscd_getai.c: No need to include <sys/mman.h>.

	* sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without
	assigned addresses.
	* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
	* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
	* sunrpc/clnt_udp.c (is_network_up): Likewise.
2004-09-30 02:24:51 +00:00
Ulrich Drepper
04c785b27f Update.
* nscd/nscd.c: Define getaddrinfo hidden so that it is never found
	outside.
2004-09-29 22:47:22 +00:00
Ulrich Drepper
6fe62f537b Update.
Renamed from si_flags due to conflict with si_flags from <elf.h>.
2004-09-29 18:00:18 +00:00
Ulrich Drepper
c1a10b519a Update.
Renamed from si_flags due to comflict with si_flags from <elf.h>.
2004-09-29 17:59:24 +00:00
Ulrich Drepper
8c1d74a94d Update.
2004-09-29  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags):
	Renamed from si+flags due to comflict with si_flags from <elf.h>.
2004-09-29 17:52:21 +00:00
Ulrich Drepper
8117719197 Update.
* nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test
	of failing __nscd_get_map_ref.  Fix a few typos.
2004-09-29 05:59:26 +00:00
Ulrich Drepper
4f21c95d3a Update.
* sunrpc/Makefile (xtests): Add tst-getmyaddr.
	* sunrpc/tst-getmyaddr.c: New file.
2004-09-28 23:08:14 +00:00
Ulrich Drepper
53b4fed6ef Update.
* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure
	SIGSETXID is not blocked.
	* sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise.
	* sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
	* sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID.
2004-09-28 22:44:12 +00:00
Ulrich Drepper
6c81dc423b Update.
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2004-09-28 22:16:26 +00:00
Ulrich Drepper
21ae57c413 Update.
* sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
	getifaddrs call.
	* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
2004-09-28 22:13:11 +00:00
Ulrich Drepper
a19fe332c1 Update.
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
	disable all checking.
2004-09-28 18:25:52 +00:00
Ulrich Drepper
e9f4e84407 Update.
2004-09-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t):
	Add __extension__ to long long types.
	* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2004-09-28 10:36:33 +00:00
Ulrich Drepper
c898721c14 Update.
2004-09-28  Ulrich Drepper  <drepper@redhat.com>

	* locales/nb_NO: Make language field consistent in form with nn_NO.
2004-09-28 08:59:29 +00:00
Ulrich Drepper
0026d6d133 Update.
2004-09-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add
	support to get this value.
2004-09-28 07:57:56 +00:00
Ulrich Drepper
067fff20b7 Update.
2004-09-28  Jakub Jelinek  <jakub@redhat.com>

	* io/utime.h (utime): Allow second argument to be NULL.
2004-09-28 07:46:43 +00:00
Ulrich Drepper
e59a8e8420 Update.
2004-09-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP
	address and AI_CANONNAME is set, return copy of NAME as ai_canonname.
2004-09-28 07:13:35 +00:00
Ulrich Drepper
4376935c17 (gaih_inet): If NAME is a numerical IP address and AI_CANONNAME is set, return copy of NAME as ai_canonname. 2004-09-28 07:11:00 +00:00
Andreas Jaeger
7dfde5a02a (elf_machine_rela_relative): Replace static inline by auto inline, add always_inline attribute. (elf_machine_rel): Likewise. (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. (elf_machine_lazy_rela): Likewise. (elf_machine_rel_relative): Likewise.
2004-09-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace
	static inline by auto inline, add always_inline attribute.
	(elf_machine_rel): Likewise.
	(elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	(elf_machine_lazy_rela): Likewise.
	(elf_machine_rel_relative): Likewise.
2004-09-28 04:54:41 +00:00
Ulrich Drepper
c105351f1e Update.
2004-09-27  Ulrich Drepper  <drepper@redhat.com>

	* locales/cy_GB: Fix d_t_fmt ("a viz" -> "mis").
	Reported by Alan Cox <alan@redhat.com>.
2004-09-28 04:38:21 +00:00
Ulrich Drepper
f20ba0323a Update.
* sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases.
	* sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t.
	* sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t.
2004-09-28 03:02:24 +00:00
Ulrich Drepper
9b904803cf Update.
2004-09-27  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER.
	Otherwise isvectordef will loop infinitely if typedef hyper int64_t
	is seen.
	(unsigned_dec): Use "u_quad_t" for similar reasons.
2004-09-28 02:05:12 +00:00
Ulrich Drepper
45708a7033 Actually, quad_t and u_quad_t are better choices. 2004-09-28 02:03:49 +00:00
Roland McGrath
bcc956f24e [BZ #409]
add bz tag
	[BZ #409]
2004-09-28 01:59:52 +00:00
Roland McGrath
9e9720a235 * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit
twiddling in last change.
2004-09-28 01:58:10 +00:00
Roland McGrath
f26e84d344 2004-09-27 Roland McGrath <roland@redhat.com>
* sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit
	twiddling in last change.
2004-09-28 01:58:03 +00:00
Ulrich Drepper
357420c512 (get_type): Use "long long" for TOK_HYPER. Otherwise isvectordef will loop infinitely if typedef hyper int64_6 is seen. (unsigned_dec): Use "unsigned long long" for similar reasons. 2004-09-28 01:57:41 +00:00
Roland McGrath
a044c713b0 * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED.
* posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro.
	* stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro.
	* sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro.
	[WCONTINUED] (__WIFCONTINUED): New macro.
	(__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no
	branches.
2004-09-28 01:42:49 +00:00
Roland McGrath
c5e2501b0b * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
all three syscall uses, not just one!
2004-09-28 00:43:00 +00:00
Roland McGrath
c8cde977f4 2004-09-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
	all three syscall uses, not just one!
2004-09-28 00:42:52 +00:00
Richard Henderson
9ea9b141fd * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points to 16 byte boundaries.
2004-09-26  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue.
	* sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points
	to 16 byte boundaries.
2004-09-26 17:40:31 +00:00
Ulrich Drepper
625ef999a6 [BZ #151]
Update.
	* elf/readlib.c (process_file): Before complaining about too-short
	file, check that it potentially be an ELF file.  Also complain about
	empty files.  [BZ #151].
2004-09-26 13:39:25 +00:00
Ulrich Drepper
610e3e7f85 [BZ #407]
Update.
	* scripts/test-installation.pl: Fix ld.so recognition for new
	LD_TRACE_LOADED_OBJECTS output format.
	Patch by <jsberg04+computing.glibc@ftml.net>  [BZ #407].
2004-09-26 12:50:39 +00:00
Ulrich Drepper
c4e328a12e [BZ #384]
Update.
	* elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of
	environment.  [BZ #384]
2004-09-26 12:12:28 +00:00
Ulrich Drepper
412c954afa [BZ #381]
Update.
	* sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl.
	* sunrpc/get_myaddr.c (get_myaddress): Likewise.
	* sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
	* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.  Change interface
	to avoid buffer overrun and remove now useless parameters.
	(clnt_broadcast): Adjust caller.  [BZ #381].
2004-09-26 11:11:28 +00:00
Ulrich Drepper
6497a1d081 [BZ #376]
Update.
	* sysdeps/generic/s_fdim.c: Handle +inf/+inf
	* sysdeps/generic/s_fdimf.c: Likewise.
	* sysdeps/generic/s_fdiml.c: Likewise.
	* sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
	* sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
	* sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
	* sysdeps/powerpc/fpu/s_fdim.c: Likewise.
	* sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
	* sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
	* math/libm-test.inc (fdim_test): Add test case.  [BZ #376].
2004-09-26 10:11:59 +00:00
Ulrich Drepper
6721afe294 _nl_make_l10nflist. [BZ #322]
duplicate address recognition does not copy junk.
2004-09-26 08:50:14 +00:00
Ulrich Drepper
a1d335d6c9 [BZ #362]
Update.
	* sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE
	for compilers without __GLIBC_HAVE_LONG_LONG.  [BZ #362]
2004-09-26 08:48:19 +00:00
Ulrich Drepper
ca225a410b [BZ #358]
Update.
2004-09-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect
	requirement on socktype and protocol.
	(gaih_inet): If numeric port number is given, return records for all
	possible socket types.
	* posix/tst-getaddrinfo2.c: New file.
	* posix/Makefile (tests): Add tst-getaddrinfo2.  [BZ #358]
2004-09-26 08:43:34 +00:00
Ulrich Drepper
fe6ce17059 [BZ #356]
Update.
	* locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE
	data where _nl_value_type_LC_CTYPE does not contain the type
	information.  Add range checks.
	Reported by John Lumby <johnlumby@hotmail.com> [BZ #356].
2004-09-26 05:49:15 +00:00
Ulrich Drepper
5cec9552a6 [BZ #346]
Update.
	* libio/vasprintf.c (_IO_vasprintf): Fix condition to decide
	whether to realloc or not.
	Reported by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> [BZ #346].
2004-09-26 05:11:53 +00:00
Ulrich Drepper
ac5e137cd9 Update. 2004-09-26 05:07:13 +00:00
Ulrich Drepper
ce7265c743 [BZ #322]
Update.
	* intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls.
	* intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if
	decided < 0.
	* intl/finddomain.c (_nl_find_domain): Likewise.
	* intl/l10nflist.c (_nl_make_l10nflist): Initialize lock.
	* intl/loadinfo.h (struct loaded_l10nfile): Add lock element.
	* intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we
	are done.  First set to -1 to signal initialization is ongoing.
	Protect against concurrent callers with recursive lock.
	duplicate address recognition does not copy junk.  [BZ #322]
2004-09-26 04:45:24 +00:00
Ulrich Drepper
f6b90f4299 Update.
* intl/finddomain.c (_nl_find_domain): Protect calls to
	_nl_make_l10nflist.
2004-09-26 03:40:38 +00:00
Ulrich Drepper
4faf24a33d Update.
2004-09-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of
	source address fails, initialized source_addr_len field so that
	duplicate address recognition does not copy junk.
2004-09-25 15:07:23 +00:00
Ulrich Drepper
007a3ddc23 (getaddrinfo): If determinination of source address fails, initialized source_addr_len field so that duplicate address recognition does not copy junk. 2004-09-25 15:06:34 +00:00
Roland McGrath
9fd3ceaebd [BZ #406]
2004-09-25  Roland McGrath  <roland@redhat.com>
	[BZ #406]
	* sysdeps/i386/i686/pt-machine.h: Don't #include "../useldt.h" if
	[_TLS_H], since sysdeps/i386/tls.h includes it after including us.
2004-09-25 10:04:29 +00:00
Roland McGrath
3ba0767c78 [BZ #406]
2004-09-25  Roland McGrath  <roland@redhat.com>
	[BZ #406]
	* sysdeps/i386/i686/pt-machine.h: Don't #include "../useldt.h" if
	[_TLS_H], since sysdeps/i386/tls.h includes it after including us.
2004-09-25 10:04:15 +00:00