mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
2000-07-06 Ulrich Drepper <drepper@redhat.com> * include/signal.h: Declare __libc_sigaction. * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * configure.in: Fix CLAGS-memprofstat.c definition after 2000-06-19 change. Patch by Bradford W. Johnson <bradford@math.umn.edu>. 2000-07-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt t argument. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add cast. 2000-07-06 Andreas Jaeger <aj@suse.de> * crypt/Makefile (LDLIBS-cert): Removed. (LDLIBS-md5c-test): Removed. ($(objpfx)cert): Renamed from cert.out to fix dependencies. ($(objpfx)md5c-test): Likewise for md5c-test.out.
This commit is contained in:
@@ -131,7 +131,7 @@ static void pthread_sighandler_rt(int signo, struct siginfo *si,
|
||||
|
||||
/* The wrapper around sigaction. Install our own signal handler
|
||||
around the signal. */
|
||||
int sigaction(int sig, const struct sigaction * act,
|
||||
int __sigaction(int sig, const struct sigaction * act,
|
||||
struct sigaction * oact)
|
||||
{
|
||||
struct sigaction newact;
|
||||
@@ -159,7 +159,7 @@ int sigaction(int sig, const struct sigaction * act,
|
||||
}
|
||||
else
|
||||
newactp = NULL;
|
||||
if (__sigaction(sig, newactp, oact) == -1)
|
||||
if (__libc_sigaction(sig, newactp, oact) == -1)
|
||||
return -1;
|
||||
if (sig > 0 && sig < NSIG)
|
||||
{
|
||||
@@ -172,6 +172,7 @@ int sigaction(int sig, const struct sigaction * act,
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
strong_alias(__sigaction, sigaction)
|
||||
|
||||
/* A signal handler that does nothing */
|
||||
static void pthread_null_sighandler(int sig) { }
|
||||
|
||||
Reference in New Issue
Block a user