Module Name: src
Committed By: martin
Date: Mon Jun 14 11:34:20 UTC 2021
Modified Files:
src/usr.bin/ftp [netbsd-9]: fetch.c
Log Message:
Pull up following revision(s) (requested by lukem in ticket #1292):
usr.bin/ftp/fetch.c: revision 1.232
fetch_url: improve signal handler restoration
Use SIG_ERR not NULL as the indicator that a signal handler
hasn't been changed, so that SIG_DFL (equivalent to NULL)
will be restored.
Fix restoration of SIGQUIT; use the old handler not SIGPIPE's.
To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.231.2.1 src/usr.bin/ftp/fetch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.