[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Wget localtime bug in 1.19.5
From: |
Sam Bingner |
Subject: |
[Bug-wget] Wget localtime bug in 1.19.5 |
Date: |
Sat, 15 Sep 2018 23:02:33 +0000 |
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
- [Bug-wget] Wget localtime bug in 1.19.5,
Sam Bingner <=