platform/upstream/linaro-glibc.git
20 years ago * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
Richard Henderson [Wed, 15 Sep 2004 12:22:09 +0000 (12:22 +0000)]
    * sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.

2004-09-15  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.

20 years agoUpdate.
Ulrich Drepper [Wed, 15 Sep 2004 10:10:05 +0000 (10:10 +0000)]
Update.

* nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also
get ttl and canonical name.  Use these two values.
* resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns.
* resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters.
If nonnull fill with TTL and pointer to canonical name respectively.
(_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r.
(_nss_dns_gethostbyname2_r): Just wrapper around
_nss_dns_gethostbyname3_r.
(_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r.
Take two new parameters which as passed to getanswer_r.

20 years agoUpdate.
Ulrich Drepper [Wed, 15 Sep 2004 08:26:45 +0000 (08:26 +0000)]
Update.

* posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD.

20 years agoUpdate.
Ulrich Drepper [Wed, 15 Sep 2004 08:25:49 +0000 (08:25 +0000)]
Update.

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

* nscd/Makefile (rountines): Add nscd_getai.
(nscd-modules): Add aicache.
* nscd/aicache.c: New file.
* nscd/nscd_getai.c: New file.
* nscd/cache.c (prune_cache): Handle GETAI request type.
* nscd/connections.c: Add GETAI support in request handling.
* nscd/nscd-client.h (request_type): Add GETAI.
Define ai_response_header and struct nscd_ai_result types.
(struct datahead): Add aidata field.
Declare __nscd_getai.
* nscd/nscd.c: Add getaddrinfo definition to catch problems.
* nscd/nscd.h: Declare addhstai and readdhstai.

* sysdeps/posix/getaddrinfo.c: Add support for using cached results.

* nscd/nscd-client.h  (struct datahead): Use uint8_t instead of bool.

20 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 2004 18:05:52 +0000 (18:05 +0000)]
Update.

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

* misc/sys/cdefs.h: Remove debugging text from __P and __PMT.

20 years agoUpdate.
Ulrich Drepper [Tue, 14 Sep 2004 04:41:35 +0000 (04:41 +0000)]
Update.

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

* misc/sys/cdefs.h: Restore old definition of __P.
* csu/munch.awk: Remove uses of __P and __PMT.
* gmon/gmon.c: Likewise.
* hesiod/hesiod.h: Likewise.
* include/stdio.h: Likewise.
* io/fts.c: Likewise.
* libio/genops.c: Likewise.
* libio/libioP.h: Likewise.
* libio/fileops.c: Likewise.
* libio/iolibio.h: Likewise.
* libio/libio.h: Likewise.
* libio/memstream.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/vsnprintf.c: Likewise.
* libio/vswprintf.c: Likewise.
* libio/wgenops.c: Likewise.
* libio/oldiopopen.c: Likewise.
* locale/programs/xmalloc.c: Likewise.
* locale/programs/xstrdup.c: Likewise.
* malloc/mtrace.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/getusershell.c: Likewise.
* nis/rpcsvc/ypupd.h: Likewise.
* posix/fnmatch.h: Likewise.
* posix/glob.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/gethnamaddr.c: Likewise.
* resolv/resolv.h: Likewise.
* resolv/inet_net_ntop.c: Likewise.
* resolv/inet_net_pton.c: Likewise.
* resolv/res_init.c: Likewise.
* resolv/nss_dns/dns-network.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/reg-printf.c: Likewise.
* sysdeps/generic/chflags.c: Likewise.
* sysdeps/generic/fchflags.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/generic/memcmp.c: Likewise.
* sysdeps/generic/memcopy.h: Likewise.
* sysdeps/generic/morecore.c: Likewise.
* sysdeps/generic/sstk.c: Likewise.
* sysdeps/posix/sigvec.c: Likewise.
* sysdeps/posix/ttyname_r.c: Likewise.
* sysdeps/standalone/arm/bits/errno.h: Likewise.
* sysdeps/standalone/standalone.h: Likewise.
* sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
* sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/sigaction.c: Likewise.
* sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
* sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
* sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/getdents.c: Likewise.
* sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
* sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
* sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
* sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
* sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
* sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
* sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise.
* time/tzset.c: Likewise.
* time/strftime_l.c: Likewise.
* time/strptime_l.c: Likewise.
* crypt/md5.h: Likewise.

20 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Tue, 14 Sep 2004 00:41:16 +0000 (00:41 +0000)]
Regenerated: autoconf  configure.in

20 years ago* configure.in: Support GCC 4.x.
Roland McGrath [Mon, 13 Sep 2004 19:47:47 +0000 (19:47 +0000)]
* configure.in: Support GCC 4.x.

* configure: Regenerated.

20 years ago2004-09-13 Andreas Jaeger <aj@suse.de>
Roland McGrath [Mon, 13 Sep 2004 19:47:43 +0000 (19:47 +0000)]
2004-09-13  Andreas Jaeger  <aj@suse.de>

* configure.in: Support GCC 4.x.
* configure: Regenerated.

20 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 2004 18:38:15 +0000 (18:38 +0000)]
Update.

2004-09-01  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h
(__libc_unwind_longjmp): Delete macro and declare as function.
* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_routines): Mention
__ia64_longjmp, sigstack_longjmp, and __sigstack_longjmp for
nptl directory.
* sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: New file.
* sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: New file.
* sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: New file.

20 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 2004 17:24:41 +0000 (17:24 +0000)]
Update.

2004-09-13  Thorsten Kukuk  <kukuk@suse.de>

* nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services.

* nscd/nscd.init: Fix path to socket.

20 years agoUPdate.
Ulrich Drepper [Mon, 13 Sep 2004 06:07:02 +0000 (06:07 +0000)]
UPdate.

* nscd/nscd_helper.c (get_mapping): Correctly check cmsg length.
Avoid file descriptor leak in case of size mismatch.

20 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 2004 05:56:39 +0000 (05:56 +0000)]
Update.

* nscd/mem.c (gc): Add casts to avoid warnings.

20 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 2004 05:52:46 +0000 (05:52 +0000)]
Update.

* nscd/nscd-client.h: Fix database structure layout for biarch.

20 years agoUpdate.
Ulrich Drepper [Mon, 13 Sep 2004 05:30:21 +0000 (05:30 +0000)]
Update.

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

* nss/getent.c: Don't preconstruct help message.  Do it only when
needed.

* locale/programs/locale.c: Simplify help message printing.

20 years agoSimplify help message printing.
Ulrich Drepper [Mon, 13 Sep 2004 05:28:45 +0000 (05:28 +0000)]
Simplify help message printing.

20 years ago(init1): fix one more nit in last change
Roland McGrath [Mon, 13 Sep 2004 00:42:46 +0000 (00:42 +0000)]
(init1): fix one more nit in last change

20 years ago* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
Roland McGrath [Sun, 12 Sep 2004 23:05:49 +0000 (23:05 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls

missing in last change.

20 years ago2004-09-12 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 12 Sep 2004 23:05:24 +0000 (23:05 +0000)]
2004-09-12  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
missing in last change.

20 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 2004 20:38:38 +0000 (20:38 +0000)]
Update.

2004-09-11  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-grp.c: Check that buflen is greater zero
before writing data into the buffer with negative offset.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c Likewise.

20 years ago[BZ #365]
Ulrich Drepper [Sun, 12 Sep 2004 18:45:49 +0000 (18:45 +0000)]
[BZ #365]

Update.
* misc/syslog.c (vsyslog): Fix copying of PID in case of
out-of-memory situation.  [BZ #365].

* sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of
__THROW in inline function definitions.

20 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 2004 18:05:37 +0000 (18:05 +0000)]
Update.

* posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK.
* posix/spawnattr_setflags.c: Check whether any unknown bit is set
in FLAGS parameter and fail if this is the case.
* sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is
set.

20 years agoUpdate.
Ulrich Drepper [Sun, 12 Sep 2004 10:10:48 +0000 (10:10 +0000)]
Update.

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

* nscd/pwdcache.c (cache_addpw): Sync also negative results to disk.
* nscd/grpcache.c (cache_addgr): Likewise.
* nscd/hstcache.c (cache_addhst): Likewise.

20 years ago(cache_addhst): Sync also negative results to disk.
Ulrich Drepper [Sun, 12 Sep 2004 10:04:03 +0000 (10:04 +0000)]
(cache_addhst): Sync also negative results to disk.

20 years ago* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]:
Roland McGrath [Sat, 11 Sep 2004 23:52:43 +0000 (23:52 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]:

Set _dl_phdr and _dl_phnum.
(init1): When bootstrap task, bail early and never examine *D.

20 years ago* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
Roland McGrath [Sat, 11 Sep 2004 23:05:24 +0000 (23:05 +0000)]
* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:

Cast THR, SEL and DESC to `void'.

20 years ago2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>
Roland McGrath [Sat, 11 Sep 2004 23:05:10 +0000 (23:05 +0000)]
2004-09-11  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
Cast THR, SEL and DESC to `void'.

20 years agoUpdate.
Ulrich Drepper [Sat, 11 Sep 2004 20:48:01 +0000 (20:48 +0000)]
Update.

* nscd/connections.c (nscd_run): Call setup_thread only for enabled
databases.

20 years agoUpdate.
Ulrich Drepper [Sat, 11 Sep 2004 16:28:48 +0000 (16:28 +0000)]
Update.

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

* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.

2004-09-10  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>

20 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 2004 23:56:29 +0000 (23:56 +0000)]
Update.

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

* nscd/nscd.c (pagesize_m1): New variable.
(main): Initialize it.
* nscd/nscd.h: Declare pagesize_m1.
* nscd/hstcache.c: Pass correctly aligned address to msync.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 2004 21:18:48 +0000 (21:18 +0000)]
Update.

2004-09-10  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement
__nwaiters.  If pthread_cond_destroy has been called and this is
the last waiter, signal pthread_cond_destroy caller and avoid
using the pthread_cond_t structure after unlock.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.

20 years ago[BZ #377]
Ulrich Drepper [Fri, 10 Sep 2004 21:16:28 +0000 (21:16 +0000)]
[BZ #377]

Update.
* sysdeps/unix/sysv/linux/kernel-features.h: Don't define
__ASSUME_CLONE_STOPPED.

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

* misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and
__asm__ for C++.  [BZ #377]

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

20 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 2004 20:31:41 +0000 (20:31 +0000)]
Update.

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

* nscd/nscd_stat.c: Improve output by also printing .shared and
.persistent.

* nscd/connections.c: Allow cache sharing to be really disabled.

20 years agoUpdate.
Ulrich Drepper [Fri, 10 Sep 2004 19:58:40 +0000 (19:58 +0000)]
Update.

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

* malloc/malloc.c (_int_free): Only do arena boundary check for
contiguous arenas.

20 years agont_free): Only do arena boundary check for contiguous arenas.
Ulrich Drepper [Fri, 10 Sep 2004 19:56:41 +0000 (19:56 +0000)]
nt_free): Only do arena boundary check for contiguous arenas.

20 years ago2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Roland McGrath [Fri, 10 Sep 2004 03:38:14 +0000 (03:38 +0000)]
2004-09-10  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken
instruct operands.
* elf/elf.h: Add R_M32R_* relocs.

20 years ago* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
Roland McGrath [Thu, 9 Sep 2004 22:51:44 +0000 (22:51 +0000)]
* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's

descriptor is bogus.

20 years ago2004-09-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Sep 2004 22:50:10 +0000 (22:50 +0000)]
2004-09-09  Roland McGrath  <roland@redhat.com>

* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
descriptor is bogus.

20 years agoUpdate.
Ulrich Drepper [Thu, 9 Sep 2004 21:18:14 +0000 (21:18 +0000)]
Update.

* misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
seems not to support the nothrow attribute.  Use it only for gcc
3.3 and higher.

20 years agoUpdate.
Ulrich Drepper [Thu, 9 Sep 2004 21:10:29 +0000 (21:10 +0000)]
Update.

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

* malloc/hooks.c (top_check): Print top chunk corruption as normal
error message.

* malloc/malloc.c (malloc_printerr): Don't make informational
message look like error message.

20 years agoUpdate.
Ulrich Drepper [Thu, 9 Sep 2004 17:15:57 +0000 (17:15 +0000)]
Update.

* malloc/malloc.c (_int_free): Add inexpensive double free and
memory corruption tests.
(malloc_printf_nc): Renamed to malloc_printerr.  Second parameter
is no format string anymore.  Don't use stdio.  Adjust all callers.
* malloc/hooks.c: Adjust malloc_printf_nc callers.

20 years ago(_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_...
Ulrich Drepper [Thu, 9 Sep 2004 09:03:28 +0000 (09:03 +0000)]
(_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_nc): Renamed to malloc_printerr.  Second parameter is no format string anymore.  Don't use stdio.  Adjust all callers.

20 years ago* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.
Andreas Jaeger [Thu, 9 Sep 2004 06:35:47 +0000 (06:35 +0000)]
* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.

20 years ago (CFLAGS-nscd_setup_thread.c): Set to -fpie.
Andreas Jaeger [Thu, 9 Sep 2004 06:35:38 +0000 (06:35 +0000)]
 (CFLAGS-nscd_setup_thread.c): Set to -fpie.

20 years ago[BZ #375]
Ulrich Drepper [Thu, 9 Sep 2004 04:59:02 +0000 (04:59 +0000)]
[BZ #375]

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

* sysdeps/pthread/pthread.h
(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Make safe for C++.
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
(PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
[BZ #375]

20 years agoUpdate.
Ulrich Drepper [Thu, 9 Sep 2004 02:04:45 +0000 (02:04 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.

20 years agoUpdate.
Ulrich Drepper [Thu, 9 Sep 2004 01:58:35 +0000 (01:58 +0000)]
Update.

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

* malloc/malloc.c (_int_free): Add inexpensive double free test.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 21:47:22 +0000 (21:47 +0000)]
Update.

* sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW.

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

20 years agoUse __NTH instead of __THROW.
Ulrich Drepper [Wed, 8 Sep 2004 21:44:02 +0000 (21:44 +0000)]
Use __NTH instead of __THROW.

20 years ago* malloc/mcheck.c: Don't use __P.
Roland McGrath [Wed, 8 Sep 2004 20:36:06 +0000 (20:36 +0000)]
* malloc/mcheck.c: Don't use __P.

Use prototypes definitions for static functions.

20 years ago2004-09-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 8 Sep 2004 20:36:02 +0000 (20:36 +0000)]
2004-09-08  Roland McGrath  <roland@redhat.com>

* malloc/mcheck.c: Don't use __P.
Use prototypes definitions for static functions.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 19:49:17 +0000 (19:49 +0000)]
Update.

* nscd/nscd-client.h: Add a few #includes.

20 years ago* sysdeps/generic/nscd_setup_thread.c: New file.
Ulrich Drepper [Wed, 8 Sep 2004 18:03:21 +0000 (18:03 +0000)]
* sysdeps/generic/nscd_setup_thread.c: New file.

* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 17:56:46 +0000 (17:56 +0000)]
Update.

    Jakub Jelinek  <jakub@redhat.com>

* nscd/Makefile (nscd-modules): Add nscd_setup_thread.
* nscd/connections.c (nscd_run): Call setup_thread for maintenance
threads.
* nscd/nscd-client.h (struct database_pers_head): Add
nscd_certainly_running field.
* nscd/nscd.h: Declare setup_thread.
* nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if
nscd_certainly_running is nonzero.

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

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 15:46:42 +0000 (15:46 +0000)]
Update.

* nscd/connections.c: Implement r/o sharing of nscd's cache with client
processes via shared memory.
* nscd/nscd-client.h: Likewise.
* nscd/nscd.h: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd.conf: Add new config parameters.
* nscd/Makefile (aux): Add nscd_helper.
* nscd/nscd_helper.c: New file.
* nscd/mem.c (gc): Indicate beginning and end of the gc cycle.

* nscd/hstcache.c: Simplify a lot.  We cache only the request itself,
no derived information.
* connections.c (nscd_init): Fix bug in testing size of the persistent.

* nis/Makefile (aux): Add nis_hash.
* nis/nis_hash.c: New file.  Split out from nis_util.c.
* nis/nis_util.c: Move __nis_hash code in separate file.

* csu/tst-atomic.c: Improve atomic_increment_val test which would
not have found a ppc bug.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 14:04:05 +0000 (14:04 +0000)]
Update.

* sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 08:12:39 +0000 (08:12 +0000)]
Update.

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

* malloc/arena.c: Remove __MALLOC_P uses.
* malloc/malloc.c: Likewise.

* malloc/mtrace.c: Remove __P uses.
* malloc/mcheck-init.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 07:02:28 +0000 (07:02 +0000)]
Update.

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

* sysdeps/powerpc/powerpc64/configure.in: New file.
* config.h.in (USE_PPC64_OVERLAPPING_OPD): Add.
* configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove.
* sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
(OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX,
BODY_PREFIX): Define.
(ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support
HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols,
USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries.
* sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h.
(TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 06:31:04 +0000 (06:31 +0000)]
Update.

* malloc/malloc.h: Don't define __THROW if it is already defined.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Sep 2004 06:09:02 +0000 (06:09 +0000)]
Update.

* sysdeps/powerpc/bits/atomic.h (atomic_increment): Define.
(atomic_decrement): Define.

* sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and
atomic_decrement_val.
* sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
* sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.

* csu/tst-atomic.c (do_test): Add tests of atomic_increment_val
and atomic_decrement_val.

20 years agoand atomic_delay is not already defined.
Ulrich Drepper [Tue, 7 Sep 2004 22:41:16 +0000 (22:41 +0000)]
and atomic_delay is not already defined.

20 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 2004 22:33:37 +0000 (22:33 +0000)]
Update.

* include/atomic.h: Define atomic_increment_val, atomic_decrement_val,
and atomic_dealy is not already defined.
* sysdeps/i386/i486/bits/atomic.h: Define atomic_delay.
* sysdeps/x86_64/bits/atomic.h: Likewise.

* miscd/sys/cdefs.h (__NTH): New macro.
(__THROW): Define using nothrow attribute for C code and gcc >= 3.2.
(__REDIRECT_NTH): New macro.
* argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary.
* ctype/ctype.h: Likewise.
* dirent/dirent.h: Likewise.
* io/fcntl.h: Likewise.
* io/sys/sendfile.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/bits/stdio.h: Likewise.
* misc/sys/mman.h: Likewise.
* posix/unistd.h: Likewise.
* resource/sys/resource.h: Likewise.
* rt/aio.h: Likewise.
* signal/signal.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/string.h: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/s390/fpu/bits/mathinline.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise.
* wcsmbs/wchar.h: Likewise.

* sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate.

* resolv/gethnamaddr.c (getanswer): Remove __P use in variable
definition.

* io/sys/poll.h: Remove __THROW from poll prototype, it's a
cancellation point.

20 years agoUse __PMT instead of __P where appropriate.
Ulrich Drepper [Tue, 7 Sep 2004 22:10:43 +0000 (22:10 +0000)]
Use __PMT instead of __P where appropriate.

20 years ago* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
Roland McGrath [Tue, 7 Sep 2004 21:36:26 +0000 (21:36 +0000)]
* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.

20 years ago2004-09-04 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 7 Sep 2004 21:36:21 +0000 (21:36 +0000)]
2004-09-04  Jakub Jelinek  <jakub@redhat.com>

* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.

20 years ago(getanswer): Remove __P use in variable definition.
Ulrich Drepper [Tue, 7 Sep 2004 21:10:49 +0000 (21:10 +0000)]
(getanswer): Remove __P use in variable definition.

20 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 2004 20:52:41 +0000 (20:52 +0000)]
Update.

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

* sysdeps/pthread/pthread.h (pthread_once): Remove __THROW since
the initialization function might throw.

20 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 2004 17:28:11 +0000 (17:28 +0000)]
Update.

* io/fts.c (fts_open): Remove uses of __P.

20 years agoUpdate.
Ulrich Drepper [Tue, 7 Sep 2004 17:06:18 +0000 (17:06 +0000)]
Update.

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

* include/stdlib.h: No need to use __THROW in this header.

20 years agoNo need to use __THROW in this header.
Ulrich Drepper [Tue, 7 Sep 2004 17:04:23 +0000 (17:04 +0000)]
No need to use __THROW in this header.

20 years ago* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
Roland McGrath [Mon, 6 Sep 2004 21:31:44 +0000 (21:31 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD

validity, since __assert_fail gets to here anyway.  Just fail.

20 years ago2004-09-06 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 6 Sep 2004 21:31:38 +0000 (21:31 +0000)]
2004-09-06  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
validity, since __assert_fail gets to here anyway.  Just fail.

20 years ago(gaih_inet): Little code cleanup. Move variable h into gethosts macro.
Ulrich Drepper [Mon, 6 Sep 2004 08:26:59 +0000 (08:26 +0000)]
(gaih_inet): Little code cleanup.  Move variable h into gethosts macro.

20 years agoUpdate.
Ulrich Drepper [Mon, 6 Sep 2004 08:16:27 +0000 (08:16 +0000)]
Update.

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

* sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with
AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6
addresses.

20 years ago(gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name which has...
Ulrich Drepper [Mon, 6 Sep 2004 08:15:50 +0000 (08:15 +0000)]
(gaih_inet): Fix problem with AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 addresses.

20 years ago * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. * sysdeps/unix/sysv...
Richard Henderson [Mon, 6 Sep 2004 02:19:36 +0000 (02:19 +0000)]
    * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.         * sysdeps/unix/sysv/linux/kernel-features.h         (__ASSUME_IEEE_RAISE_EXCEPTION): New.         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.         * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.

* sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_IEEE_RAISE_EXCEPTION): New.
* sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
* sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.

2004-09-05  Richard Henderson  <rth@redhat.com>

20 years ago * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. ...
Richard Henderson [Mon, 6 Sep 2004 02:01:35 +0000 (02:01 +0000)]
    * sysdeps/alpha/div.S: Save and restore FPCR around fp operations.         * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,         sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,         sysdeps/alpha/remqu.S: Likewise.         * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.

2004-09-05  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
* sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,
sysdeps/alpha/remqu.S: Likewise.
* sysdeps/alpha/div_libc.h (FRAME): Increase to 64.

20 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): ...
Richard Henderson [Mon, 6 Sep 2004 01:12:02 +0000 (01:12 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):         Move definition inside libpthread, libc, librt check.  Provide         definition for rtld.

2005-09-05  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
Move definition inside libpthread, libc, librt check.  Provide
definition for rtld.

lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success
return actual return value from the syscall, not 0.
Add __mutex field.

20 years agoUpdate.
Ulrich Drepper [Sun, 5 Sep 2004 07:19:46 +0000 (07:19 +0000)]
Update.

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

* nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and
GETHOSTBYADDRv6 requests.

20 years agoUpdate.
Ulrich Drepper [Sun, 5 Sep 2004 07:02:13 +0000 (07:02 +0000)]
Update.

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

* nscd/pwdcache.c (cache_addpw): Use correct key length in
cache_add calls.
* nscd/grpcache.c (cache_addgr): Likewise.

20 years ago(cache_addgr): Use correct key length in cache_add calls.
Ulrich Drepper [Sun, 5 Sep 2004 06:47:36 +0000 (06:47 +0000)]
(cache_addgr): Use correct key length in cache_add calls.

20 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 *'.

20 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 *'.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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>.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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).

20 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).