[Dnsmasq-discuss] [PATCH v2 0/1] Use nanosecond granularity when checking for file changes.
Simon Kelley
simon at thekelleys.org.uk
Fri Oct 3 21:08:09 BST 2014
On 30/09/14 15:02, Karl Vogel wrote:
> First version of the patch generated a compiler warning due
> to improper initialization of a variable.
>
> Karl Vogel (1):
> Use nanosecond granularity when checking for file changes.
>
> src/dnsmasq.c | 20 +++++++++++---------
> src/dnsmasq.h | 7 ++++++-
> src/option.c | 3 ++-
> 3 files changed, 19 insertions(+), 11 deletions(-)
>
>
This looks fine, but I have a vague worry about breaking the build on
old C libraries that don't define the st_mtim field. Does anyone know
when this entered the standard? This Ubuntu 14.04 system has the
nanosecond fields in the headers, but not in the stat(3) manpage :(
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list