NetBSD/usr.bin/ftp
lukem f3c773016a If connect(2) in xconnect() fails with EINTR, call select(2) on the socket
until it's writable or it fails with something other than EINTR.
This matches the behaviour in SUSv3, and prevents the problem when
pressing ^T (SIGINFO, which is marked as restartable) during connection
setup would cause ftp to fail with EADDRINUSE or EALREADY when the
second connect(2) was attempted on the same socket.
Problem found and solution provided by Maxime Henrion <mux@freebsd.org>.
2004-04-10 12:21:39 +00:00
..
Makefile
cmds.c
cmdtab.c
complete.c
domacro.c
extern.h
fetch.c
ftp.1
ftp.c If connect(2) in xconnect() fails with EINTR, call select(2) on the socket 2004-04-10 12:21:39 +00:00
ftp_var.h
main.c
progressbar.c Allow custom text printed before (left of) the progress bar from progress(1): 2004-03-09 17:04:24 +00:00
progressbar.h Allow custom text printed before (left of) the progress bar from progress(1): 2004-03-09 17:04:24 +00:00
ruserpass.c
util.c If connect(2) in xconnect() fails with EINTR, call select(2) on the socket 2004-04-10 12:21:39 +00:00
version.h If connect(2) in xconnect() fails with EINTR, call select(2) on the socket 2004-04-10 12:21:39 +00:00