This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-179-g5a58064


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  5a580643111ef6081be7b4c7bd1997a5447c903f (commit)
      from  c892ae04f47908479220247a311bc0067229b592 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=5a580643111ef6081be7b4c7bd1997a5447c903f

commit 5a580643111ef6081be7b4c7bd1997a5447c903f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sun Oct 7 22:30:13 2018 -0700

    mktime fix for Gnulib + coreutils
    
    [BZ#23745]
    This fix affects only Gnulib.  Problem discovered when
    mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
    * time/mktime.c:
    (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
    Do not define since it is not used.  Defining an unused static
    function prompts a warning from GCC when Coreutils is configured
    with --enable-gcc-warnings.

diff --git a/ChangeLog b/ChangeLog
index af0f15b..cadf861 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2018-10-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+	mktime fix for Gnulib + coreutils
+	[BZ#23745]
+	This fix affects only Gnulib.  Problem discovered when
+	mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
+	* time/mktime.c:
+	(my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
+	Do not define since it is not used.  Defining an unused static
+	function prompts a warning from GCC when Coreutils is configured
+	with --enable-gcc-warnings.
+
 2018-10-08  Leonardo Sandoval  <leonardo.sandoval.gonzalez@intel.com>
 
 	* benchtests/scripts/compare_bench.py (main): set float type on
diff --git a/time/mktime.c b/time/mktime.c
index 1404ee9..00f0dec 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -78,7 +78,7 @@
 
 #include "mktime-internal.h"
 
-#ifndef _LIBC
+#if !defined _LIBC && (NEED_MKTIME_WORKING || NEED_MKTIME_WINDOWS)
 static void
 my_tzset (void)
 {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |   12 ++++++++++++
 time/mktime.c |    2 +-
 2 files changed, 13 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]