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
..
cmds.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
cmdtab.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
complete.c convert to ANSI KNF 2000-05-01 10:35:16 +00:00
domacro.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
extern.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
fetch.c Don't warn about "ignored setsockopt" failures unless debugging is 2003-12-10 12:34:28 +00:00
ftp_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
ftp.1 -n is ignored for auto-fetch transfers 2003-12-19 03:46:02 +00:00
ftp.c If connect(2) in xconnect() fails with EINTR, call select(2) on the socket 2004-04-10 12:21:39 +00:00
main.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
Makefile Abstract out progress bar support into progressbar.[ch], for inclusion 2003-01-21 16:08:06 +00:00
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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
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