Re: [Libevent-users] [PATCH] signal.c, evsignal.h: properly save/restore previous signal handlers and fix memory stomp

2007-11-09 Thread Scott Lamb
Christopher Layne wrote: + /* save previous handler setup */ + if (sigaction(evsignal, NULL, sig-sa_old[evsignal]) == -1 + || sigaction(evsignal, sa, NULL) == -1) Not worth changing unless you're redoing the patch anyway, but is there some reason you aren't doing

Re: [Libevent-users] [PATCH] signal.c, evsignal.h: properly save/restore previous signal handlers and fix memory stomp

2007-11-09 Thread Christopher Layne
On Fri, Nov 09, 2007 at 04:03:46PM -0800, Scott Lamb wrote: Christopher Layne wrote: +/* save previous handler setup */ +if (sigaction(evsignal, NULL, sig-sa_old[evsignal]) == -1 +|| sigaction(evsignal, sa, NULL) == -1) Not worth changing unless you're redoing the patch