commit f9a9a250b179650f18dc3883a9dd287083f48d24 Author: Nathaniel McCallum npmccallum@redhat.com Date: Wed Jun 29 14:31:42 2011 -0400
[core] when clearing signal handlers, start with signal 1 (not 0)
src/verto.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/src/verto.c b/src/verto.c index dcf7e27..2f1bdb5 100644 --- a/src/verto.c +++ b/src/verto.c @@ -356,7 +356,7 @@ verto_free(struct vertoEvCtx *ctx) sigfillset(&block); sigprocmask(SIG_SETMASK, &block, &old); dlclose(ctx->dll); - for (i=0 ; i < _NSIG ; i++) { + for (i=1 ; i < _NSIG ; i++) { if (sigaction(i, NULL, &act) == 0) { if (act.sa_flags & SA_SIGINFO) { if (dladdr(act.sa_sigaction, &info) == 0)
libverto-commits@lists.fedorahosted.org