[pypy-commit] pypy default: oops
arigo
pypy.commits at gmail.com
Sat Oct 8 11:43:29 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r87626:f8f3f559e826
Date: 2016-10-08 17:42 +0200
http://bitbucket.org/pypy/pypy/changeset/f8f3f559e826/
Log: oops
diff --git a/pypy/module/faulthandler/faulthandler.c b/pypy/module/faulthandler/faulthandler.c
--- a/pypy/module/faulthandler/faulthandler.c
+++ b/pypy/module/faulthandler/faulthandler.c
@@ -323,7 +323,7 @@
faulthandler_register(int signum, int chain, _Py_sighandler_t *p_previous)
{
struct sigaction action;
- action.sa_handler = faulthandler_user;
+ action.sa_sigaction = faulthandler_user;
sigemptyset(&action.sa_mask);
/* if the signal is received while the kernel is executing a system
call, try to restart the system call instead of interrupting it and
More information about the pypy-commit
mailing list