Commit 1835c4f1 authored by Guido van Rossum's avatar Guido van Rossum

Use correct field of sigaction struct

parent 3672aa2d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment