mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Use correct field of sigaction struct
This commit is contained in:
parent
3672aa2dcd
commit
1835c4f1b4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue