[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget localtime bug in 1.19.5
From: |
Tim Rühsen |
Subject: |
Re: [Bug-wget] Wget localtime bug in 1.19.5 |
Date: |
Sun, 16 Sep 2018 09:29:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
Hi Sam,
thanks for the report.
The problem might be fixed in upstream gnulib already. May I send you a
tarball with everything up-to-date for testing ?
BTW, address@hidden doesn't seem to be a valid account (invalid DNS MX
or A/AAAA resource record). Please let me know where to send the tarball.
Regards, Tim
On 9/16/18 1:02 AM, Sam Bingner wrote:
> 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
>
signature.asc
Description: OpenPGP digital signature