Date: Fri, 08 Feb 2013 12:15:25 +0100
This is AFAICS the only test program in this directory that doesn't
call curl_global_init(). This function is needed for Curl_gethostname()
to work on Windows at least.
Besides it does a case-sensitive string compare of 'argv' and return
buffer from Curl_gethostname(). Aren't hostnames always compared
with curl_str[n]equal() other places (case-insensitive)?
The "LD_PRELOAD failed" message seems too *nix centric too.
My suggested patch is attached. Patching Makefile.inc should be easy,
but not my cup of tea.
- application/octet-stream attachment: chkhostname.diff