From: GNU Libc Maintainers Date: Fri, 26 Jan 2018 22:35:29 +0000 (+0000) Subject: local-sigaction X-Git-Tag: archive/raspbian/2.26-6+rpi1^2~186 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=553a39eeb6b4016ddf853ea7ff212c7b0edbe855;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 e4c0d976b..47a6d00d3 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 }