Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/usr.bin/ftp



Module Name:    src
Committed By:   martin
Date:           Fri Jan 29 20:58:19 UTC 2021

Modified Files:
        src/usr.bin/ftp [netbsd-9]: ftp.c progressbar.c progressbar.h ssl.c
            version.h

Log Message:
Pull up following revision(s) (requested by lukem in ticket #1190):

        usr.bin/ftp/progressbar.c: revision 1.24
        usr.bin/ftp/ssl.c: revision 1.9
        usr.bin/ftp/progressbar.h: revision 1.9
        usr.bin/ftp/ftp.c: revision 1.171
        usr.bin/ftp/version.h: revision 1.92

ftp: don't use restartable signals

Refactor to not rely upon restartable signals (SA_RESTART),
possibly fixing intermittent failures with -q QUITTIME.
ftp transfers: handle EINTR/EAGAIN in copy_bytes(),
instead of relying upon restartable signals.

http/https transfers: Explicitly print an error similar to
progressmeter() when timing-out for -Q QUITTIME in fetch_wait(),
and set errno to ETIMEDOUT so that the warn() in fetch_url()
prints a more accurate error message.

PR/55857


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.168.2.1 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.23 -r1.23.2.1 src/usr.bin/ftp/progressbar.c
cvs rdiff -u -r1.8 -r1.8.48.1 src/usr.bin/ftp/progressbar.h
cvs rdiff -u -r1.8 -r1.8.2.1 src/usr.bin/ftp/ssl.c
cvs rdiff -u -r1.87 -r1.87.18.1 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