Problem reported by Ludovic Courtès in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00068.html
* lib/mktime.c (mktime) [!_LIBC && HAVE_TZSET]: Call tzset.
* m4/mktime.m4 (gl_FUNC_MKTIME): Check for tzset.
+2016-07-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ mktime: call tzset as per POSIX
+ Problem reported by Ludovic Courtès in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00068.html
+ * lib/mktime.c (mktime) [!_LIBC && HAVE_TZSET]: Call tzset.
+ * m4/mktime.m4 (gl_FUNC_MKTIME): Check for tzset.
+
2016-06-26 Pádraig Brady <P@draigBrady.com>
fts: handle readdir() errors
time zone names contained in the external variable 'tzname' shall
be set as if the tzset() function had been called. */
__tzset ();
+#elif HAVE_TZSET
+ tzset ();
#endif
return __mktime_internal (tp, __localtime_r, &localtime_offset);
-# serial 26
+# serial 27
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2016 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl in Autoconf and because it invokes AC_LIBOBJ.
AC_CHECK_HEADERS_ONCE([unistd.h])
AC_CHECK_DECLS_ONCE([alarm])
+ AC_CHECK_FUNCS_ONCE([tzset])
AC_REQUIRE([gl_MULTIARCH])
if test $APPLE_UNIVERSAL_BUILD = 1; then
# A universal build on Apple Mac OS X platforms.