"Jordan K. Hubbard" <[email protected]> writes:
> My only point was that you should make sure something is a certain way
> before you offer advice for dealing with its *current* behavior since,
> otherwise, that's just confusing to everyone. Either way, I don't
> think that *any* of the current sources, from libfetch to libftpio,
> are currently doing anything "right" with FTP_PASSIVE_MODE and hence
> this debate is also 100% academic for the time being. :-)
So let's *make* them Do The Right Thing. That's what commit privs are
for, after all.
d...@des ~$ stable FTP_PASSIVE_MODE
src/lib/libfetch/ftp.c: #define FTP_PASSIVE_MODE 227
src/lib/libfetch/ftp.c: if ((e = _ftp_cmd(cf, "PASV" ENDL)) !=
FTP_PASSIVE_MODE)
src/lib/libftpio/ftpio.3: .Bl -tag -width FTP_PASSIVE_MODE -offset 123
src/lib/libftpio/ftpio.3: .It Ev FTP_PASSIVE_MODE
src/lib/libftpio/ftpio.c: if (getenv("FTP_PASSIVE_MODE"))
src/usr.bin/fetch/fetch.1: .Bl -tag -width FTP_PASSIVE_MODE -offset indent
src/usr.bin/fetch/fetch.1: .It Ev FTP_PASSIVE_MODE
src/usr.bin/ftp/ftp.1: .Bl -tag -width "FTP_PASSIVE_MODE"
src/usr.bin/ftp/ftp.1: .It Ev FTP_PASSIVE_MODE
src/usr.bin/ftp/main.c: if (getenv("FTP_PASSIVE_MODE") || strcmp(cp,
"pftp") == 0)
src/usr.sbin/pkg_install/add/pkg_add.1: FTP_PASSIVE_MODE
Looks like ftpio(3) and ftp(1) both Do The Wrong Thing. Should be
trivial to fix, but I have a train to catch right now :)
DES
--
Dag-Erling Smorgrav - [email protected]
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message