From: GNU Libc Maintainers Date: Sun, 4 Dec 2016 21:49:53 +0000 (+0000) Subject: local-sigaction X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2^2^2^2~162 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=83dacb72f8b619d338570fc15bee53fa805918eb;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 b84abed97..b8fd6ad7b 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 }