commit | 1835c4f1b4bb31555e80dc651edee69d60a1ba82 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed May 29 14:15:19 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed May 29 14:15:19 1996 +0000 |
tree | 34cb61e6fb665e6e8b37337dca6597849b73f777 | |
parent | 3672aa2dcdd8898ff520aa3885f8444ac73a2b2c [diff] [blame] |
Use correct field of sigaction struct
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 7bd1d06..c310024 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c
@@ -265,7 +265,7 @@ #ifdef HAVE_SIGACTION struct sigaction act; sigaction(i, 0, &act); - t = act.sa_flags; + t = act.sa_handler; #else t = signal(i, SIG_IGN); signal(i, t);