Re: [Bug-wget] [PATCH] fix build warnings due to DEBUG_MALLOC

2012-05-24 Thread Giuseppe Scrivano
Mike Frysinger vap...@gentoo.org writes: The current cleanup_html_url code warns because it's marked static but no one calls it. Reading the code base, we see it only gets called when DEBUG_MALLOC is defined, so change the static markings to check that ifdef. The spider_cleanup has a

[Bug-wget] Combining --output-document with --recursive

2012-05-24 Thread Gijs van Tulder
Hi, There's a problem if you combine --output-document with --recursive or --page-requisites. --output-document breaks the recursion. First you get a warning: WARNING: combining -O with -r or -p will mean that all downloaded content will be placed in the single file you specified. That

[Bug-wget] [PATCH v2] fix build warnings with newer zlib

2012-05-24 Thread Mike Frysinger
The gz* API from zlib takes a gzFile, not a gzFile*. Older versions of zlib didn't trigger a warning because it was typedefed to a void*, but newer ones typedef it to a struct*, so trying to use struct** triggers warnings where void** would not. Tweak the type of warc_current_gzfile to work