aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-22 00:36:57 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-22 00:36:57 +0000
commit101edd3f3187e38542b6dc380bb9134203c065f3 (patch)
treecf1e36f4233edd36e37aa05a7b1997945f4da90b
parentbafb8ee92fbb5937357d53b8b9275c99e9da1cfe (diff)
downloadglibc-101edd3f3187e38542b6dc380bb9134203c065f3.tar
glibc-101edd3f3187e38542b6dc380bb9134203c065f3.tar.gz
glibc-101edd3f3187e38542b6dc380bb9134203c065f3.tar.bz2
glibc-101edd3f3187e38542b6dc380bb9134203c065f3.zip
Update.
* nscd/connections.c (nscd_run): Pretty print. * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-runtime.c3
-rw-r--r--linuxthreads/ChangeLog2
-rw-r--r--linuxthreads/manager.c2
-rw-r--r--nscd/connections.c2
5 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fd070f48f..062e45e3e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-03-21 Ulrich Drepper <drepper@redhat.com>
+ * nscd/connections.c (nscd_run): Pretty print.
+ * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
+
* manual/charset.texi: Fix typos. Rephrase.
* manual/process.texi: Likewise.
* manual/signal.texi: Likewise.
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index 8e8728c8ff..23f7587b53 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -1,5 +1,5 @@
/* On-demand PLT fixup for shared objects.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <alloca.h>
+#include <stdlib.h>
#include <unistd.h>
#include <elf/ldsodefs.h>
#include "dynamic-link.h"
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 06e458437e..aaee2e7d58 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,7 @@
2000-03-21 Ulrich Drepper <drepper@redhat.com>
+ * manager.c (__pthread_manager): Unmask debug signal.
+
* pthread.c (pthread_initialize): Test for address of __dso_handle
being NULL, not value. Use __on_exit, not on_exit.
Patch by Andreas Jaeger <aj@suse.de>.
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 21a692847f..4aa598bb9e 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -115,6 +115,8 @@ int __pthread_manager(void *arg)
sigfillset(&mask);
sigdelset(&mask, __pthread_sig_cancel); /* for thread termination */
sigdelset(&mask, SIGTRAP); /* for debugging purposes */
+ if (__pthread_threads_debug && __pthread_sig_debug > 0)
+ sigdelset(&mask, __pthread_sig_debug);
sigprocmask(SIG_SETMASK, &mask, NULL);
/* Raise our priority to match that of main thread */
__pthread_manager_adjust_prio(__pthread_main_thread->p_priority);
diff --git a/nscd/connections.c b/nscd/connections.c
index f80ca856a9..651084c770 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -387,7 +387,7 @@ static void *
__attribute__ ((__noreturn__))
nscd_run (void *p)
{
- long my_number = (long) p;
+ long int my_number = (long int) p;
struct pollfd conn;
int run_prune = my_number < lastdb && dbs[my_number].enabled;
time_t now = time (NULL);