libxc: remove usage of "daylight" variable
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 16 Apr 2014 14:13:14 +0000 (16:13 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 2 May 2014 12:34:34 +0000 (13:34 +0100)
commitfb651884930a728e60ddd423b68a3ad38f9d0630
tree1158c9e1348859ac2997c541c15381dc78785c64
parent5bd500c8b68788802e905215deaaf0c39538625b
libxc: remove usage of "daylight" variable

FreeBSD doesn't implement the XSI extension that mandates the presence
of the daylight variable as described in:

http://pubs.opengroup.org/onlinepubs/009696799/functions/tzset.html

So avoid using it for portability reasons. Use tm_isdst instead to
decide if daylight savings time conversions should be used or not.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xtl_logger_stdio.c