I had wget crashing when I compiled for iOS and tracked down the problem to be the rpl_localtime using the macro for localtime so it resolved to:
struct tm *
rpl_localtime (time_t const *timep)
{
struct tm *tm = rpl_localtime (timep);
This is because it has "-I ../src" in the CFLAGS so that can find config.h and
time.h is found there before the system time.h
That obviously caused pretty bad things. Attached is a diff that fixed it for
me.
Sam
localtime-clobber.diff
Description: localtime-clobber.diff
