Date: Fri, 17 Jan 1997 04:51:59 -0800 (PST) From: "Jordan K. Hubbard" <jkh> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libftpio ftpio.c Message-ID: <199701171251.EAA27759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkh 97/01/17 04:51:58 Modified: lib/libftpio ftpio.c Log: Yow! Is my face red... I just noticed (duh) that signal() always installs the handler with SA_RESTART set, so the system calls I wanted to have the timeout effect will just restart instead (which is NOT what I wanted). Sheepishly use sigaction() like a good boy and make timeouts actually do something. Also pass errors out more effectively so that fetch(1) actually understands what went wrong. Revision Changes Path 1.23 +41 -9 src/lib/libftpio/ftpio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701171251.EAA27759>