+2008-12-17 Denys Vlasenko <dvlasenk@redhat.com>
+
+ * signal.c (sys_sigaction, sys_rt_sigaction): Fix typo
+ in (sa_handler == SIG_IGN) comparison, it was using SIG_DFL
+ instead.
+
2008-12-16 Denys Vlasenko <dvlasenk@redhat.com>
* defs.h: Modify declaration of upeek to take struct tcb *
tprintf("{SIG_ERR, ");
else if (sa.SA_HANDLER == SIG_DFL)
tprintf("{SIG_DFL, ");
- else if (sa.SA_HANDLER == SIG_DFL) {
+ else if (sa.SA_HANDLER == SIG_IGN) {
#ifndef USE_PROCFS
if (tcp->u_arg[0] == SIGTRAP) {
tcp->flags |= TCB_SIGTRAPPED;
tprintf("{SIG_ERR, ");
else if (sa.__sigaction_handler.__sa_handler == SIG_DFL)
tprintf("{SIG_DFL, ");
- else if (sa.__sigaction_handler.__sa_handler == SIG_DFL)
+ else if (sa.__sigaction_handler.__sa_handler == SIG_IGN)
tprintf("{SIG_IGN, ");
else
tprintf("{%#lx, ",