diff options
author | Guido van Rossum <guido@python.org> | 1996-05-29 14:15:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-29 14:15:19 (GMT) |
commit | 1835c4f1b4bb31555e80dc651edee69d60a1ba82 (patch) | |
tree | 34cb61e6fb665e6e8b37337dca6597849b73f777 /Modules/signalmodule.c | |
parent | 3672aa2dcdd8898ff520aa3885f8444ac73a2b2c (diff) | |
download | cpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.zip cpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.tar.gz cpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.tar.bz2 |
Use correct field of sigaction struct
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ initsignal() #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); |