diff options
author | brian <brian@cvs.openbsd.org> | 1997-12-28 21:54:26 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1997-12-28 21:54:26 +0000 |
commit | 9dfb52ea4b97ea1c25b3631a1675060f35885357 (patch) | |
tree | 0c42b5e21b8ffd090ea68437c4eb14c3392b784d /usr.sbin/ppp/modem.c | |
parent | af7574bc79365a4f767b1034e070349d543c364b (diff) |
Don't expect select() to adjust the passed time when it's
interrupted with a SIGALRM. In fact, select() sets the
passed time to zero, making the previous implementation
terminate always after 1/10th of a second !
Also, deal with someone changing the clock while we're
sleeping (and restart the whole sleep).
Dangers pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
Diffstat (limited to 'usr.sbin/ppp/modem.c')
0 files changed, 0 insertions, 0 deletions