Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: tcp/zftp close



On Oct 26,  2:13pm, Peter Stephenson wrote:
}
} This fixes that, but unfortunately invalidates Bart's previous assumption
} that a TCP session would always have a valid fd number.  Given the comment
} in the second hunk, I don't see an alternative, does anyone?

You could rewrite zftp so as not to require fdopen().

However, I don't think that's necessary.  As long as a not-closed zftp
session always has a tcp session with a valid fd, I think things are safe.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author