Date: Wed, 31 Jan 1996 07:15:56 -0800 (PST) From: Bill Paul <wpaul> To: CVS-committers, cvs-usrsbin Subject: cvs commit: src/usr.sbin/yppush yppush_main.c Message-ID: <199601311515.HAA07830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 96/01/31 07:15:52
Modified: usr.sbin/yppush yppush_main.c
Log:
Sync with my sources at home:
- Don't do longjmp()s from inside a signal handler. Even though I got
things to work the way I wanted, it's bad karma.
- Remember to clear the sa_mask with sigemptyset() before masking signals
when using sigaction() to set up the SIGIO handler.
- Break out of the wait loop in yppush_exit() when the five minute
timeout expires instead of looping around for another pass. If ypxfr
on the other end fails somehow and never sends a response, we don't
want to wait around forever.
Revision Changes Path
1.2 +39 -4 src/usr.sbin/yppush/yppush_main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601311515.HAA07830>
