+ if (connected &&
+ command ("NOOP") != COMPLETE)
When the connection has closed, I now get a SIGPIPE in the NOOP,
specifically at the fflush(cout); at line 369 of ftp.c (in inetutils 1.5,
sorry, I don't have a CVS checkout just now.)
Been trying to reproduce this, but I cannot, admitably I'm using CVS
so something might have changed. I tried various other means as well,
doing `close' before `open', and such.
ftp> open ftp.gnu.org
Connected to ftp.gnu.org.
220 GNU FTP server ready.
Name (ftp.gnu.org:ams): anonymous
[...]
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> open ftp.gnu.org
421 Timeout.
Connected to ftp.gnu.org.
220 GNU FTP server ready.
Name (ftp.gnu.org:ams): anonymous
[...]
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils