diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-24 21:22:19 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-24 21:22:19 +0200 |
commit | addf4bd4ac9083a70172c9beb9bf9ab446f1f7e1 (patch) | |
tree | 1cacfeca27a3b075c225f7716bd68236fa59ae95 | |
parent | e8d68d4caeba97977691e20baf84469d5e85b8e5 (diff) |
also initialize sa_sigaction although it's not used
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@423 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | common/tio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/tio.c b/common/tio.c index 7d3e197..d49a20a 100644 --- a/common/tio.c +++ b/common/tio.c @@ -281,6 +281,7 @@ FIXME: we have a race condition here (setting and restoring the signal mask), th /* set up sigaction */ memset(&act,0,sizeof(struct sigaction)); + act.sa_sigaction=NULL; act.sa_handler=SIG_IGN; sigemptyset(&act.sa_mask); act.sa_flags=SA_RESTART; |