mirror of
https://github.com/mirror/wget.git
synced 2025-01-19 08:40:36 +08:00
943a6d585f
* src/init.c: Add keepbadhash * src/main.c: Add keep-badhash * src/options.h: Add keep_badhash * doc/wget.texi: Add docs for --keep-badhash * src/metalink.h: Add prototypes badhash_suffix(), badhash_or_remove() * src/metalink.c: New functions badhash_suffix(), badhash_or_remove(). (retrieve_from_metalink): Call badhash_or_remove() on download error With --keep-badhash, append .badhash to Metalink's files with checksum mismatch. (retrieve_from_metalink): unique_create() may append another suffix to avoid overwriting existing files. Without --keep-badhash, remove downloaded files with checksum mismatch (this conforms to the old behaviour). |
||
---|---|---|
.. | ||
fdl.texi | ||
Makefile.am | ||
sample.wgetrc | ||
texi2pod.pl | ||
wget.texi |