From 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:53:53 +0100 Subject: Update/gnulib 2026 03 (#2247) * Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers --- gl/m4/mktime.m4 | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'gl/m4/mktime.m4') diff --git a/gl/m4/mktime.m4 b/gl/m4/mktime.m4 index eca6c4d8..fa32d138 100644 --- a/gl/m4/mktime.m4 +++ b/gl/m4/mktime.m4 @@ -1,6 +1,6 @@ # mktime.m4 -# serial 42 -dnl Copyright (C) 2002-2003, 2005-2007, 2009-2025 Free Software Foundation, +# serial 43 +dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -112,22 +112,6 @@ mktime_test (time_t now) && mktime_test1 ((time_t) (time_t_min + now))); } -static int -irix_6_4_bug () -{ - /* Based on code from Ariel Faigon. */ - struct tm tm; - tm.tm_year = 96; - tm.tm_mon = 3; - tm.tm_mday = 0; - tm.tm_hour = 0; - tm.tm_min = 0; - tm.tm_sec = 0; - tm.tm_isdst = -1; - mktime (&tm); - return tm.tm_mon == 2 && tm.tm_mday == 31; -} - static int bigtime_test (int j) { @@ -255,12 +239,10 @@ main () if ((result & 8) == 0 && ! bigtime_test (INT_MAX)) result |= 8; } - if (! irix_6_4_bug ()) - result |= 16; if (! spring_forward_gap ()) - result |= 32; + result |= 16; if (! year_2050_test () || ! indiana_test ()) - result |= 64; + result |= 32; return result; }]])], [gl_cv_func_working_mktime=yes], -- cgit v1.2.3-74-g34f1