From: GNU Libc Maintainers Date: Tue, 4 Sep 2018 19:13:02 +0000 (+0100) Subject: local-sigaction X-Git-Tag: archive/raspbian/2.27-6+rpi1^2~146 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c998625a03c0ae6ea72bbc946441359dedda91e8;p=glibc.git local-sigaction Gbp-Pq: Topic arm Gbp-Pq: Name local-sigaction.diff --- diff --git a/sysdeps/unix/sysv/linux/arm/sigaction.c b/sysdeps/unix/sysv/linux/arm/sigaction.c index e4d80de10..2a08a5bbf 100644 --- a/sysdeps/unix/sysv/linux/arm/sigaction.c +++ b/sysdeps/unix/sysv/linux/arm/sigaction.c @@ -52,13 +52,8 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact) memcpy (&kact.sa_mask, &act->sa_mask, sizeof (sigset_t)); kact.sa_flags = act->sa_flags; #ifdef HAVE_SA_RESTORER - if (kact.sa_flags & SA_RESTORER) - kact.sa_restorer = act->sa_restorer; - else - { - kact.sa_restorer = choose_restorer (kact.sa_flags); - kact.sa_flags |= SA_RESTORER; - } + kact.sa_restorer = choose_restorer (kact.sa_flags); + kact.sa_flags |= SA_RESTORER; #endif }