Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-10] src/usr.bin/ftp
Module Name: src
Committed By: martin
Date: Thu Jan 22 20:01:32 UTC 2026
Modified Files:
src/usr.bin/ftp [netbsd-10]: extern.h ftp.c util.c version.h
Log Message:
Pull up following revision(s) (requested by lukem in ticket #1222):
usr.bin/ftp/ftp.c: revision 1.179
usr.bin/ftp/version.h: revision 1.101
usr.bin/ftp/util.c: revision 1.169
usr.bin/ftp/extern.h: revision 1.85
ftp: fix ascii transfers with progress bar
Handle stdio interruption by signals and improve error handling
in getc() and putc() on the control and data channels.
Provide ftp_getc() and ftp_putc() wrappers that:
- Retry the operation on EINTR or EAGAIN instead of failing.
- Store other error codes in a return variable separate to errno,
and use that variable in ferror() handling, for more correct
error messages.
Fixes the progress bar display in ascii mode transfers.
(Note that I haven't fixed interrupted reads from stdin or
writes to ttyout; that's a much larger refactor that's out of scope).
Fix PR bin/59587 from Johnny Billquist, with the fix
inspired by the patch in that PR.
To generate a diff of this commit:
cvs rdiff -u -r1.82.10.2 -r1.82.10.3 src/usr.bin/ftp/extern.h
cvs rdiff -u -r1.174.2.3 -r1.174.2.4 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.164.2.4 -r1.164.2.5 src/usr.bin/ftp/util.c
cvs rdiff -u -r1.95.2.4 -r1.95.2.5 src/usr.bin/ftp/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index