Gisle Vanem <[EMAIL PROTECTED]> writes: > Why the need for asprintf() in url.c:903? This function is missing > on DOS/Win32 and nowhere to be found in ./lib.
Wget is supposed to use aprintf, which is defined in utils.c, and is not specific to Unix. It's preferable to use an asprintf-like functions than a static buffer because it supports reentrance (unlike a static buffer) and imposes no arbitrary limits on error output.