biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d005078
)
Fix that sigaction mask wasn't zeroed
author
Roland Schulz
<roland@utk.edu>
Wed, 23 May 2012 09:30:50 +0000
(
05:30
-0400)
committer
Roland Schulz
<roland@utk.edu>
Wed, 23 May 2012 09:32:47 +0000
(
05:32
-0400)
Change-Id: I84a1f77e6320538730cc367ed722eadf22046a68
src/gmxlib/sighandler.c
patch
|
blob
|
history
diff --git
a/src/gmxlib/sighandler.c
b/src/gmxlib/sighandler.c
index 7c9496a78c5e9b485d00467260fd222f5dfae203..95fe43525397ad3325c7e850dcf4cc3c5f958414 100644
(file)
--- a/
src/gmxlib/sighandler.c
+++ b/
src/gmxlib/sighandler.c
@@
-102,6
+102,7
@@
static void gmx_signal(int signum)
#ifdef HAVE_SIGACTION
struct sigaction act;
act.sa_handler = signal_handler;
+ sigemptyset(&act.sa_mask);
act.sa_flags = SA_RESTART;
sigaction(signum,&act,NULL);
#else