freebsd-nq/lib/libfetch
Dag-Erling Smørgrav 2a7daafe67 Fix two issues related to the use of SIGINFO in fetch(1) to display
progress information.  The first is that fetch_read() (used in the HTTP
code but not the FTP code) can enter an infinite loop if it has previously
been interrupted by a signal.  The second is that when it is interrupted,
fetch_read() will discard any data it may have read up to that point.
Luckily, both bugs are extremely timing-sensitive and therefore difficult
to trigger.

PR:		bin/153240
Submitted by:	Mark <markjdb@gmail.com>
MFC after:	3 weeks
2012-01-18 15:13:21 +00:00
..
common.c Fix two issues related to the use of SIGINFO in fetch(1) to display 2012-01-18 15:13:21 +00:00
common.h Fix two issues related to the use of SIGINFO in fetch(1) to display 2012-01-18 15:13:21 +00:00
fetch.3 latin1 -> utf8 2011-10-19 11:43:51 +00:00
fetch.c latin1 -> utf8 2011-10-19 11:43:51 +00:00
fetch.h latin1 -> utf8 2011-10-19 11:43:51 +00:00
file.c latin1 -> utf8 2011-10-19 11:43:51 +00:00
ftp.c latin1 -> utf8 2011-10-19 11:43:51 +00:00
ftp.errors
http.c Fix two issues related to the use of SIGINFO in fetch(1) to display 2012-01-18 15:13:21 +00:00
http.errors
Makefile Builds cleanly at the default WARNS level (WARNS=6). 2011-05-12 21:30:46 +00:00