[Dnsmasq-discuss] dnsmasq-2.56 - the start of the process.

Simon Kelley simon at thekelleys.org.uk
Thu Jan 13 07:51:51 GMT 2011


On 12/01/11 22:30, Jan Seiffert wrote:
> 2011/1/12 Simon Kelley<simon at thekelleys.org.uk>:
>
> Looks like HAVE_BROKEN_RTC is broken since test19 or something like that:
>
> === modified file 'src/cache.c'
> --- src/cache.c 2011-01-12 22:23:35 +0000
> +++ src/cache.c 2011-01-12 22:26:25 +0000
> @@ -1109,7 +1109,7 @@
>                           cache->flags&  F_NXDOMAIN ? "X" : " ",
>                           cache->flags&  F_HOSTS ? "H" : " ");
>   #ifdef HAVE_BROKEN_RTC
> -f          p += sprintf(p, "%lu", cache->flags&  F_IMMORTAL ? 0:
> (unsigned long)(cache->ttd - now));
> +           p += sprintf(p, "%lu", cache->flags&  F_IMMORTAL ? 0:
> (unsigned long)(cache->ttd - now));
>   #else
>              p += sprintf(p, "%s", cache->flags&  F_IMMORTAL ? "\n" :
> ctime(&(cache->ttd)));
>              /* ctime includes trailing \n - eat it */
>
>


Thanks Jan. I'd blame the cat for that one, if I had a cat!

Simon.




More information about the Dnsmasq-discuss mailing list