Kill SA_RESETHAND, it doesn't exist on MacOS X and isn't necessary

This commit is contained in:
hpa 2001-11-15 04:11:39 +00:00
parent eaed5dbbca
commit 7028f9064a

View file

@ -1098,7 +1098,7 @@ tftp_recvfile(struct formats *pf, struct tftphdr *oap, int oacklen)
ap->th_block = htons((u_short)(block));
(void) send(peer, ackbuf, 4, 0);
set_signal(SIGALRM, justquit, SA_RESETHAND); /* just quit on timeout */
set_signal(SIGALRM, justquit, 0); /* just quit on timeout */
alarm(rexmtval);
n = recv(peer, buf, sizeof (buf), 0); /* normally times out and quits */
alarm(0);