[PATCH] signal: fix thinko in sa_restorer
Mike Frysinger
vapier at gentoo.org
Sun Aug 10 02:12:55 UTC 2014
Previous commit here re-added the bugs trying to be fixed due to a
logic thinko. The patches were tested in isolation and hand merged
later. Oops.
* signal.c (struct new_sigaction): Change || to &&.
---
signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/signal.c b/signal.c
index 6a565f5..e6d17ba 100644
--- a/signal.c
+++ b/signal.c
@@ -1134,7 +1134,7 @@ struct new_sigaction
#else
void (*__sa_handler)(int);
unsigned long sa_flags;
-# if !defined(ALPHA) || !defined(HPPA)
+# if !defined(ALPHA) && !defined(HPPA)
void (*sa_restorer)(void);
# endif /* !ALPHA || !HPPA */
#endif /* !MIPS */
--
2.0.0
More information about the Strace-devel
mailing list