aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-07-12 13:02:44 -0700
committerPaul Eggert2014-07-12 13:02:44 -0700
commitd105c56ff95893f00e37a20bfd09f155fb87a5b4 (patch)
treebcaded9914203580bf501b340230718f6998932e
parentb39c4d7b33952e0125fbefbcb3d9f528b6570f40 (diff)
downloademacs-d105c56ff95893f00e37a20bfd09f155fb87a5b4.tar.gz
emacs-d105c56ff95893f00e37a20bfd09f155fb87a5b4.zip
Merge from gnulib, incorporating:
2014-06-27 mktime: merge #if/#ifdef usage from glibc * lib/mktime.c: Update from gnulib.
-rw-r--r--ChangeLog4
-rw-r--r--lib/mktime.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e6822737f1..f8852211e9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
12014-07-12 Paul Eggert <eggert@cs.ucla.edu> 12014-07-12 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Merge from gnulib, incorporating:
4 2014-06-27 mktime: merge #if/#ifdef usage from glibc
5 * lib/mktime.c: Update from gnulib.
6
3 * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971). 7 * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
4 8
52014-07-10 Dmitry Antipov <dmantipov@yandex.ru> 92014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
diff --git a/lib/mktime.c b/lib/mktime.c
index 29438237760..48b3a40f9c7 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -38,7 +38,7 @@
38 38
39#include <string.h> /* For the real memcpy prototype. */ 39#include <string.h> /* For the real memcpy prototype. */
40 40
41#if DEBUG 41#if defined DEBUG && DEBUG
42# include <stdio.h> 42# include <stdio.h>
43# include <stdlib.h> 43# include <stdlib.h>
44/* Make it work even if the system's libc has its own mktime routine. */ 44/* Make it work even if the system's libc has its own mktime routine. */
@@ -600,7 +600,7 @@ libc_hidden_def (mktime)
600libc_hidden_weak (timelocal) 600libc_hidden_weak (timelocal)
601#endif 601#endif
602 602
603#if DEBUG 603#if defined DEBUG && DEBUG
604 604
605static int 605static int
606not_equal_tm (const struct tm *a, const struct tm *b) 606not_equal_tm (const struct tm *a, const struct tm *b)