external/glibc.git
19 years ago* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
Roland McGrath [Fri, 3 Sep 2004 20:49:05 +0000 (20:49 +0000)]
* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV

to `dtv_t *'.

19 years ago2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
Roland McGrath [Fri, 3 Sep 2004 20:49:00 +0000 (20:49 +0000)]
2004-09-03  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
to `dtv_t *'.

19 years agoUpdate.
Ulrich Drepper [Fri, 3 Sep 2004 08:15:41 +0000 (08:15 +0000)]
Update.

2004-09-03  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd.c (parse_opt): Use writev instead of two write for
invalidate command.

19 years agoUpdate.
Ulrich Drepper [Fri, 3 Sep 2004 03:41:30 +0000 (03:41 +0000)]
Update.

2004-09-02  Ulrich Drepper  <drepper@redhat.com>

* nscd/connections.c (nscd_run): Check early for invalid request types.

19 years ago(nscd_run): Check early for invalid request types.
Ulrich Drepper [Fri, 3 Sep 2004 03:39:45 +0000 (03:39 +0000)]
(nscd_run): Check early for invalid request types.

19 years agoAdd backslashes missing in last change.
Roland McGrath [Fri, 3 Sep 2004 00:28:13 +0000 (00:28 +0000)]
Add backslashes missing in last change.

19 years ago* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
Roland McGrath [Thu, 2 Sep 2004 23:58:45 +0000 (23:58 +0000)]
* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.

(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
(THREAD_SELF): New macro.

19 years ago2004-09-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 2 Sep 2004 23:58:23 +0000 (23:58 +0000)]
2004-09-02  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
(INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
(THREAD_SELF): New macro.

19 years agoUpdate.
Ulrich Drepper [Thu, 2 Sep 2004 22:47:23 +0000 (22:47 +0000)]
Update.

* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
* sysdeps/i386/jmpbuf-unwind.h: Likewise
* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
* sysdeps/s390/jmpbuf-unwind.h: Likewise.
* sysdeps/sh/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
* sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
* unwind.c: Use it.

19 years ago[BZ #357]
Ulrich Drepper [Thu, 2 Sep 2004 18:59:24 +0000 (18:59 +0000)]
[BZ #357]

Update.
2004-09-02  Steven Munroe  <sjmunroe@us.ibm.com>

[BZ #357]
* stdlib/tst-setcontext.c (test_stack): Added test for stack clobber.
(main): Call test_stack.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
(__getcontext): Push stack frame then save parms in local frame.
Improve instruction scheduling.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__swapcontext): Likewise.

19 years agoUpdate.
Ulrich Drepper [Thu, 2 Sep 2004 03:40:32 +0000 (03:40 +0000)]
Update.

2004-09-01  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use
__builtin_offsetof.

19 years ago[BZ #361]
Ulrich Drepper [Thu, 2 Sep 2004 03:38:10 +0000 (03:38 +0000)]
[BZ #361]

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

[BZ #361]
* posix/fnmatch_loop.c (FCT): For backslash between brackets, branch
to normal_bracket after fetching the next character.
* posix/tst-fnmatch.input: Add 25 new tests.
Reported by Markus Oberhumer <markus@oberhumer.com>.

19 years agoUpdate.
Ulrich Drepper [Thu, 2 Sep 2004 02:53:00 +0000 (02:53 +0000)]
Update.

2004-09-01  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): First check existence of ld.so.preload
with access.

19 years ago(dl_main): First check existence of ld.so.preload with access.
Ulrich Drepper [Thu, 2 Sep 2004 02:52:26 +0000 (02:52 +0000)]
(dl_main): First check existence of ld.so.preload with access.

19 years ago* sysdeps/unix/sysv/linux/bits/waitflags.h
Roland McGrath [Wed, 1 Sep 2004 19:39:17 +0000 (19:39 +0000)]
* sysdeps/unix/sysv/linux/bits/waitflags.h

(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
New macro.
* sysdeps/unix/sysv/linux/waitid.c: New file.  Use new syscall when
available, or fall back to the waitpid-based generic code.

19 years ago* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc
Roland McGrath [Wed, 1 Sep 2004 02:00:03 +0000 (02:00 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc

clobber the `ebp' register.
* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
Reverts change from 2004-05-07 by Jeroen Dekkers.

* sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
NEWSP from `void *' to `int *'.  Changed all casts accordingly.

19 years ago* wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden
Roland McGrath [Wed, 1 Sep 2004 00:50:33 +0000 (00:50 +0000)]
* wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden

before return type.
* locale/localename.c (__current_locale_name): Likewise.

19 years ago* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
Roland McGrath [Tue, 31 Aug 2004 06:17:48 +0000 (06:17 +0000)]
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit

later sets from output.
* Makerules (check-abi): Pass option to set that with value of
LIB-abi-frozen variable if one is set.

* abilist/libcidn.abilist: New file (empty).

19 years ago2004-08-30 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 31 Aug 2004 06:17:08 +0000 (06:17 +0000)]
2004-08-30  Roland McGrath  <roland@frob.com>

* abilist/libcidn.abilist: New file (empty).

19 years agoUpdate.
Ulrich Drepper [Mon, 30 Aug 2004 16:56:03 +0000 (16:56 +0000)]
Update.

2004-08-30  Jakub Jelinek  <jakub@redhat.com>

* posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
not __USE_XOPEN2K, use the Unix98 mandated values.

19 years agoInclude bits/wordsize.h. Make the header match i386 header when __WORDSIZE != 64.
Ulrich Drepper [Mon, 30 Aug 2004 16:51:12 +0000 (16:51 +0000)]
Include bits/wordsize.h.  Make the header match i386 header when __WORDSIZE != 64.

19 years ago* configure.in (usetls): Default to yes.
Roland McGrath [Fri, 27 Aug 2004 19:41:25 +0000 (19:41 +0000)]
* configure.in (usetls): Default to yes.

* configure: Regenerated.

19 years ago* configure.in (add_ons_automatic): New variable, set to yes or no
Roland McGrath [Thu, 26 Aug 2004 21:26:59 +0000 (21:26 +0000)]
* configure.in (add_ons_automatic): New variable, set to yes or no

indicating --enable-add-ons with no explicit list.
(running add-on fragments): Allow a fragment to modify $libc_add_on
and have that affect its place in the list of add-ons to use.
* configure: Regenerated.

19 years ago2004-08-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 26 Aug 2004 21:26:06 +0000 (21:26 +0000)]
2004-08-26  Roland McGrath  <roland@redhat.com>

* configure.in: New file.  If nptl add-on is also selected, barf if
explicit and elide ourselves if implicit.
* configure: Now generated.

19 years agoUpdate.
Ulrich Drepper [Thu, 26 Aug 2004 18:35:05 +0000 (18:35 +0000)]
Update.

2004-08-26  Ulrich Drepper  <drepper@redhat.com>

* nscd/cache.c: Major rewrite.  The data is now optionally kept in
a mmaped memory region which is automatically mirrored on disk.
This implements persistent data storage.  The Memory handled
needed to be completely revamped, it now uses a garbage collection
mechanism instead of malloc.
* nscd/connections.c: Likewise.
* nscd/nscd.c: Likewise.
* nscd/nscd.h: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/nscd_stat.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c:: Likewise.
* nscd/pwdcache.c:: Likewise.
* nscd/Makefile: Add rules to build mem.c.
* nscd/mem.c: New file.
* nscd/nscd.conf: Describe new configuration options.

19 years agoUpdate.
Ulrich Drepper [Thu, 26 Aug 2004 17:00:16 +0000 (17:00 +0000)]
Update.

2004-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
NO_SGIDEFS_H isn't defined.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.

* sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
_MIPS_SIM.
* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.

* nscd/connections.c (nscd_run): atomic_increment was not missing.

19 years agoUpdate.
Ulrich Drepper [Thu, 26 Aug 2004 09:16:12 +0000 (09:16 +0000)]
Update.

2004-08-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
Patch by Greg Schafer.

19 years ago* nscd/grpcache.c (cache_addgr): Use copy of original key in hash
Ulrich Drepper [Wed, 25 Aug 2004 23:33:21 +0000 (23:33 +0000)]
* nscd/grpcache.c (cache_addgr): Use copy of original key in hash

19 years agoUpdate.
Ulrich Drepper [Wed, 25 Aug 2004 23:27:17 +0000 (23:27 +0000)]
Update.

* sysdeps/powerpc/powerpc64/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval
is negative.
(__arch_compare_and_exchange_bool_32_rel): Likewise.

19 years ago(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch...
Ulrich Drepper [Wed, 25 Aug 2004 23:24:20 +0000 (23:24 +0000)]
(__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch_compare_and_exchange_bool_32_rel): Likewise.

19 years ago * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind instead...
Richard Henderson [Wed, 25 Aug 2004 19:59:01 +0000 (19:59 +0000)]
    * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind         instead of $31.  Zero $15.         * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.

2004-08-25  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
instead of $31.  Zero $15.
* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.

19 years agoUpdate.
Ulrich Drepper [Wed, 25 Aug 2004 17:24:52 +0000 (17:24 +0000)]
Update.

2004-08-25  Ulrich Drepper  <drepper@redhat.com>

* nscd/connections.c: Make socket nonblocking so that threads
don't get stuck on accept.  Fix locking.

* nscd/grpcache.c (cache_addgr): Use cope of original key in hash
entry with alternative key.
* nscd/pwdcache.c (cache_addpw): Likewise.

19 years ago(cache_addpw): Use cope of original key in hash entry with alternative key.
Ulrich Drepper [Wed, 25 Aug 2004 17:18:43 +0000 (17:18 +0000)]
(cache_addpw): Use cope of original key in hash entry with alternative key.

19 years ago* sysdeps/mips/dl-machine.h (_dl_start_user): Don't set
Andreas Jaeger [Wed, 25 Aug 2004 05:57:46 +0000 (05:57 +0000)]
* sysdeps/mips/dl-machine.h (_dl_start_user): Don't set

__libc_stack_end.

19 years ago(CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt.
Andreas Jaeger [Wed, 25 Aug 2004 05:55:35 +0000 (05:55 +0000)]
(CENABLE, CDISABLE, __local_multiple_threads): Fix definitions for IS_IN_librt.

2004-08-25  Richard Sandiford  <rsandifo@redhat.com>

* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (CENABLE, CDISABLE,
__local_multiple_threads): Fix definitions for IS_IN_librt.
* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.

19 years agoUpdate.
Ulrich Drepper [Mon, 23 Aug 2004 09:14:00 +0000 (09:14 +0000)]
Update.

2004-08-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/gnu/netinet/udp.h: Cosmetic changes.  Remove unnecessary
__BEGIN_DECLS/__END_DECLS.

19 years agoCosmetic changes. Remove unnecessary __BEGIN_DECLS/__END_DECLS.
Ulrich Drepper [Mon, 23 Aug 2004 09:07:06 +0000 (09:07 +0000)]
Cosmetic changes.  Remove unnecessary __BEGIN_DECLS/__END_DECLS.

19 years ago[BZ #341]
Andreas Jaeger [Mon, 23 Aug 2004 07:29:06 +0000 (07:29 +0000)]
[BZ #341]

Fix for
[BZ #341].
2004-08-23  Andreas Jaeger  <aj@suse.de>

[BZ #341]
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.

19 years ago[BZ #341] (O_NOATIME): Define.
Andreas Jaeger [Mon, 23 Aug 2004 07:28:46 +0000 (07:28 +0000)]
[BZ #341] (O_NOATIME): Define.

19 years agoUpdate.
Ulrich Drepper [Mon, 23 Aug 2004 03:32:17 +0000 (03:32 +0000)]
Update.

2004-08-22  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO) [IS_IN_librt]:
Save gp around CENABLE/CDISABLE calls.

19 years agoUpdate.
Ulrich Drepper [Sat, 21 Aug 2004 20:19:54 +0000 (20:19 +0000)]
Update.

* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
(check_action): Likewise.
When printing error messages, use malloc_printf_nc now instead of
fiddling with the streams cancellation flag in every place.
* malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition.  Change
default to 3.
(check_action): New variable.
(unlink): Print error message and eventually terminate in case list
is corrupted.
(malloc_printf_nc): New function.  Use it in _int_free.
Change proposed by Arjan van de Ven.

19 years agoUpdate.
Ulrich Drepper [Sat, 21 Aug 2004 09:28:31 +0000 (09:28 +0000)]
Update.

2004-08-21  Ulrich Drepper  <drepper@redhat.com>

* dlfcn/Makefile: Don't build eval.c anymore.

pointer in new variable ORIG_NAME and use this pointer when

19 years agoDon't build eval.c anymore.
Ulrich Drepper [Sat, 21 Aug 2004 09:25:46 +0000 (09:25 +0000)]
Don't build eval.c anymore.

19 years ago* csu/Makefile ($(objpfx)version-info.h): Use printf in place
Roland McGrath [Fri, 20 Aug 2004 20:12:50 +0000 (20:12 +0000)]
* csu/Makefile ($(objpfx)version-info.h): Use printf in place

of echo -e for POSIX.2 portability.
Reported by Paul Jarc <prj@po.cwru.edu>.

* setjmp/Makefile (tests): Add bug269-setjmp.

19 years ago2004-08-20 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 20 Aug 2004 20:12:43 +0000 (20:12 +0000)]
2004-08-20  Roland McGrath  <roland@frob.com>

* csu/Makefile ($(objpfx)version-info.h): Use printf in place
of echo -e for POSIX.2 portability.
Reported by Paul Jarc <prj@po.cwru.edu>.

19 years agoUpdate.
Ulrich Drepper [Thu, 19 Aug 2004 22:56:27 +0000 (22:56 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
list generation.

19 years agoUpdate.
Ulrich Drepper [Thu, 19 Aug 2004 21:39:39 +0000 (21:39 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
getcanonname_r function if AI_CANONNAME flag is not set in
request.

19 years agoUpdate.
Ulrich Drepper [Thu, 19 Aug 2004 21:03:12 +0000 (21:03 +0000)]
Update.

2004-08-19  Ulrich Drepper  <drepper@redhat.com>

* nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
Initialize mysize with limits only if latter is >= 0.  Use mysize
in malloc call.

19 years agoUpdate.
Ulrich Drepper [Thu, 19 Aug 2004 18:56:52 +0000 (18:56 +0000)]
Update.

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

* sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
to avoid warning.

* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
status to NSS_STATUS_UNAVAIL.

2004-08-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
cannoname lookup since it has the FQDN even if the original NAME
value has not.

19 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 2004 08:22:52 +0000 (08:22 +0000)]
Update.

2004-08-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
pointer in new variable ORIG_NAME and se this pointer when
determination of canonical name failed, not the possibly IDN
translated value of NAME.

19 years agoUpdate.
Ulrich Drepper [Wed, 18 Aug 2004 05:29:19 +0000 (05:29 +0000)]
Update.

* resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT.
* resolv/res_init.c (res_setoptions): Recognize ip6-dotint option.
Reset RES_NOIP6DOTINT flag in this case..

19 years agoUpdate
Ulrich Drepper [Wed, 18 Aug 2004 05:10:14 +0000 (05:10 +0000)]
Update

2004-08-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c: Fix memory handling of
ai_canonname.

19 years agoUpdate.
Ulrich Drepper [Mon, 16 Aug 2004 17:16:00 +0000 (17:16 +0000)]
Update.

2004-08-16  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use
CNAME records, we better follow the chain of CNAME records which
can be accomplished with A/AAAA lookups.

19 years ago(_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the chain of...
Ulrich Drepper [Mon, 16 Aug 2004 17:13:13 +0000 (17:13 +0000)]
(_nss_dns_getcanonname_r): Don't use CNAME records, we better follow the chain of CNAME records which can be accomplished with A/AAAA lookups.

19 years ago* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Roland McGrath [Mon, 16 Aug 2004 08:51:53 +0000 (08:51 +0000)]
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):

Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.

19 years ago* sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
Roland McGrath [Mon, 16 Aug 2004 06:46:31 +0000 (06:46 +0000)]
* sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to

this, not ...
(static-only-routines): ... this.
* sysdeps/ia64/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
* sysdeps/sparc/sparc64/Makefile: Likewise.
* sysdeps/x86_64/Makefile: Likewise.
* sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.

19 years ago* csu/elf-init.c: Update copyright terms including special exception
Roland McGrath [Mon, 16 Aug 2004 04:51:23 +0000 (04:51 +0000)]
* csu/elf-init.c: Update copyright terms including special exception

for these trivial files, which are statically linked into executables
that use dynamic linking for the significant library code.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/alpha/elf/initfini.c: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/generic/initfini.c: Likewise.
* sysdeps/generic/mknod.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/ia64/elf/initfini.c: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-32/initfini.c: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/s390/s390-64/initfini.c: Likewise.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/standalone/i386/start.S: Likewise.
* sysdeps/standalone/i960/start.S: Likewise.
* sysdeps/standalone/m68k/m68020/start.S: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/aix/start.s: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/x86_64/elf/initfini.c: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

19 years ago[BZ #227]
Roland McGrath [Sun, 15 Aug 2004 23:33:09 +0000 (23:33 +0000)]
[BZ #227]

2004-08-15  Roland McGrath  <roland@redhat.com>
[BZ #227]
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_BRK_PAGE_ROUNDED): New macro.
* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
[! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
the partial page after the dynamic linker's own data segment.

19 years ago[BZ #227]
Roland McGrath [Sun, 15 Aug 2004 23:33:02 +0000 (23:33 +0000)]
[BZ #227]

2004-08-15  Roland McGrath  <roland@redhat.com>
[BZ #227]
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_BRK_PAGE_ROUNDED): New macro.
* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
[! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
the partial page after the dynamic linker's own data segment.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 22:39:07 +0000 (22:39 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of
v4-mapped addresses a bit.
(gethosts): Move alloca out of macro, so that it is done only once.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 20:23:40 +0000 (20:23 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of
addr to avoid casts.
(gethosts): Removed.
(gethosts2): Renamed to gethosts.  Make it usable for family !=
AF_UNSPEC.  Fix AI_V4MAPPED.
(gaih_inet): Remove use of old gethosts.  Always use what used to be
gethosts2.  If entry is found, try to use the same NSS module's
getcanonname_r function.  Use gethostbyaddr for AI_CANONNAME only
if getcanonname_r was not available.  Fix filtering of AI_V4MAPPED
addresses.  Numerous cleanups.
* resolv/nss_dns/dns-canon.c: New file.
* resolv/Makefile (libnss_dns-routines): Add dns-canon.
* resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r.

* elf/Makefile: Add rules to build and run tst-dlopenrpath.
* elf/tst-dlopenrpath.c: New file.
* elf/tst-dlopenrpathmod.c: New file.

* intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 19:28:54 +0000 (19:28 +0000)]
Update.

* intl/tst-gettext.sh: Adjust for change for de.po file to UTF-8.
* intl/tst-gettext.c: Likewise.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 10:48:29 +0000 (10:48 +0000)]
Update.

* nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 09:42:45 +0000 (09:42 +0000)]
Update.

2004-08-15  Ulrich Drepper  <drepper@redhat.com>

* nss/getent.c: Allow queries for getaddrinfo with AF_INET and
AF_INET6.

19 years agoUpdate.
Ulrich Drepper [Sun, 15 Aug 2004 02:48:28 +0000 (02:48 +0000)]
Update.

2004-08-14  Ulrich Drepper  <drepper@redhat.com>

* po/de.po: Update from translation team.

19 years agoUpdate from translation team.
Ulrich Drepper [Sun, 15 Aug 2004 02:48:06 +0000 (02:48 +0000)]
Update from translation team.

19 years ago* sysdeps/mach/configure: Regenerated.
Roland McGrath [Sat, 14 Aug 2004 20:17:48 +0000 (20:17 +0000)]
* sysdeps/mach/configure: Regenerated.

* sysdeps/mach/hurd/configure: Regenerated.

* sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is
performed, make sure it is still the first entry after sorting
that has the ai_canonname information.

19 years ago2004-08-14 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 14 Aug 2004 20:17:43 +0000 (20:17 +0000)]
2004-08-14  Roland McGrath  <roland@frob.com>

* sysdeps/mach/configure: Regenerated.
* sysdeps/mach/hurd/configure: Regenerated.

19 years agoUpdate.
Ulrich Drepper [Sat, 14 Aug 2004 20:13:23 +0000 (20:13 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (getaddrinfo): I rfc3484 sorting is
performed, make sure it is still the first entry after sotring
which has the ai_canonname information.

19 years agoUpdate.
Ulrich Drepper [Sat, 14 Aug 2004 08:50:45 +0000 (08:50 +0000)]
Update.

2004-08-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname
only in one entry.

19 years ago(gaih_inet): Really set ai_canonname only in one entry.
Ulrich Drepper [Sat, 14 Aug 2004 08:49:55 +0000 (08:49 +0000)]
(gaih_inet): Really set ai_canonname only in one entry.

19 years ago* scripts/output-format.sed: Handle default case of three-argument
Roland McGrath [Sat, 14 Aug 2004 06:55:25 +0000 (06:55 +0000)]
* scripts/output-format.sed: Handle default case of three-argument

OUTPUT_FORMAT.

* sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
__attribute_used__.

19 years ago2004-08-13 Daniel Jacobowitz <dan@debian.org>
Roland McGrath [Sat, 14 Aug 2004 06:54:39 +0000 (06:54 +0000)]
2004-08-13  Daniel Jacobowitz  <dan@debian.org>

* scripts/output-format.sed: Handle default case of three-argument
OUTPUT_FORMAT.

19 years agoUpdate.
Ulrich Drepper [Sat, 14 Aug 2004 06:47:48 +0000 (06:47 +0000)]
Update.

* nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the
first returned entry.  Print name only if not NULL.

19 years agoUpdate.
Ulrich Drepper [Sat, 14 Aug 2004 04:21:09 +0000 (04:21 +0000)]
Update.

* nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct
__netgrent object passed in instead of global variables.
Optimize.
* nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data
in struct __netgrent object passed in instead of global variables.
* inet/netgroup.h (struct __netgrent): Add service_user field.
Move cursor in anonymous union, add new field location to that
union.
* inet/getnetgrent_r.c: Extensive rewrite to really enable
concurrent uset of set/get/endnetgrent and innetgr.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 23:24:09 +0000 (23:24 +0000)]
Update.

* inet/getnetgrent_r.c (innetgr): We must get the lock used for
the set/get/end interfaces since we call all these functions in
succession and must not be interrupted doing this.
Reported by Chuck Simmons.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 20:26:29 +0000 (20:26 +0000)]
Update.

* inet/netgroup.h (struct name_list): Replace name pointer with
zero-sized array.
* inet/getnetgrent_r.c: Adjust code for change in name_list
layout.  Numerous strdup and free calls removed.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 18:52:51 +0000 (18:52 +0000)]
Update.

non-hidden over hidden symbols and strong over weak symbols
if both don't start with '_'.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 18:39:44 +0000 (18:39 +0000)]
Update.

2004-08-13  Ulrich Drepper  <drepper@redhat.com>

* elf/sprof.c (read_symbols): When comparing aliases, prefer
strong over weak symbols if both don't start with '_'.

* malloc/malloc.c: Use strong_alias instead of weak_alias wherever
possible.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 07:56:06 +0000 (07:56 +0000)]
Update.

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

* libc-tsd.c: Move resolv.h include before the #if.
(__res_maybe_init): New function.  Add libc_hidden_def.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 05:46:56 +0000 (05:46 +0000)]
Update.

2004-08-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros
accordingly.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 05:45:12 +0000 (05:45 +0000)]
Update.

2004-08-11  Andreas Schwab  <schwab@suse.de>

* resolv/res_libc.c: Move definition of __res_initstamp ...
* resolv/res_init.c: ... here.

19 years agoUpdate.
Ulrich Drepper [Fri, 13 Aug 2004 05:42:43 +0000 (05:42 +0000)]
Update.

2004-08-10  GOTO Masanori  <gotom@debian.or.jp>

* locale/C-time.c: Change default ERA value from NULL to "".
* locale/tst-C-locale.c: Add test case for ERA keywords.

19 years agoUpdate.
Ulrich Drepper [Thu, 12 Aug 2004 18:05:59 +0000 (18:05 +0000)]
Update.

2004-08-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.

2004-08-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING,
RLIMIT_MSGQUEUE): Add.
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING,
RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
(RLIM_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING,
RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
(RLIM_NLIMITS): Adjust.
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING,
RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
(RLIM_NLIMITS): Adjust.

19 years agoUpdate.
Ulrich Drepper [Thu, 12 Aug 2004 17:42:16 +0000 (17:42 +0000)]
Update.

2004-08-12  Jakub Jelinek  <jakub@redhat.com>

* resolv/res_query.c (__libc_res_nsearch): Protect the debugging
printf with #ifdef DEBUG and RES_DEBUG check.

* sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after
__USE_MISC #endif.
* sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize
declaration.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.

19 years agoUpdate.
Ulrich Drepper [Thu, 12 Aug 2004 15:05:39 +0000 (15:05 +0000)]
Update.

2004-08-12  Ulrich Drepper  <drepper@redhat.com>

* po/ca.po: Update from translation team.

19 years agoUpdate from translation team.
Ulrich Drepper [Thu, 12 Aug 2004 15:03:13 +0000 (15:03 +0000)]
Update from translation team.

19 years ago* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
Roland McGrath [Thu, 12 Aug 2004 06:12:28 +0000 (06:12 +0000)]
* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around

commands inside &&.
Reported by Andreas Schwab <schwab@suse.de>.
* configure: Regenerated.

19 years ago2004-08-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Aug 2004 06:12:22 +0000 (06:12 +0000)]
2004-08-11  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
commands inside &&.
Reported by Andreas Schwab <schwab@suse.de>.
* configure: Regenerated.

19 years agoUpdate.
Ulrich Drepper [Thu, 12 Aug 2004 02:42:41 +0000 (02:42 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
__getpagesize declaration.

19 years agoAdd __BEGIN_DECLS for __getpagesize declaration.
Ulrich Drepper [Thu, 12 Aug 2004 02:42:08 +0000 (02:42 +0000)]
Add __BEGIN_DECLS for __getpagesize declaration.

19 years ago* rt/tst-timer2.c (do_test): If timer_create fails, just continue.
Roland McGrath [Wed, 11 Aug 2004 23:32:56 +0000 (23:32 +0000)]
* rt/tst-timer2.c (do_test): If timer_create fails, just continue.

* rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
return 1 immediately.

19 years ago* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
Roland McGrath [Wed, 11 Aug 2004 19:29:42 +0000 (19:29 +0000)]
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

19 years ago2004-08-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)]
2004-08-11  Roland McGrath  <roland@redhat.com>

* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

19 years agoUpdate.
Ulrich Drepper [Wed, 11 Aug 2004 19:26:20 +0000 (19:26 +0000)]
Update.

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

* time/tzset.c (tzset_internal): Add new parameter which is
nonzero if called through tzset.  Use TZDEFAULT name including
name comparison if the new parameter is zero.  This means implicit
tzset calls will not cause files to be opened and read by tzfile.c
all the time.

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

* time/tzfile.c (__tzfile_read): Free transitions only if it will
not be reused.

19 years ago(tzset_internal): Add new parameter which is nonzero if called through tzset. Use...
Ulrich Drepper [Wed, 11 Aug 2004 19:24:24 +0000 (19:24 +0000)]
(tzset_internal): Add new parameter which is nonzero if called through tzset.  Use TZDEFAULT name including name comparison if the new parameter is zero.  This means implicit tzset calls will not cause files to be opened and read by tzfile.c all the time.

19 years ago* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
Roland McGrath [Wed, 11 Aug 2004 18:54:46 +0000 (18:54 +0000)]
* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.

* sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.

* stdio-common/tst-popen.c: Include <string.h>.

* resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.

19 years ago* sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
Roland McGrath [Wed, 11 Aug 2004 18:51:13 +0000 (18:51 +0000)]
* sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn

attribute.  Return NULL instead of calling pthread_exit at the end.

19 years ago* iconvdata/testdata/ISO-2022-JP-3: Regenerated.
Roland McGrath [Wed, 11 Aug 2004 18:47:15 +0000 (18:47 +0000)]
* iconvdata/testdata/ISO-2022-JP-3: Regenerated.

19 years ago* sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
Roland McGrath [Tue, 10 Aug 2004 22:05:32 +0000 (22:05 +0000)]
* sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.