Mailinglist Archive: opensuse-commit (1092 mails)

< Previous Next >
commit autoconf
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 25 Feb 2008 16:59:02 +0100
  • Message-id: <20080225155902.5EC326781B8@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package autoconf
checked in at Mon Feb 25 16:59:02 CET 2008.

--------
--- autoconf/autoconf.changes 2007-06-01 09:20:19.000000000 +0200
+++ /mounts/work_src_done/STABLE/autoconf/autoconf.changes 2008-02-19
19:57:20.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Feb 19 19:57:01 CET 2008 - schwab@xxxxxxx
+
+- Fix undefined behaviour in AC_FUNC_MKTIME test.
+
+-------------------------------------------------------------------
--- autoconf/autoconf-el.changes 2007-08-20 19:52:44.000000000 +0200
+++ /mounts/work_src_done/STABLE/autoconf/autoconf-el.changes 2008-02-19
19:57:20.000000000 +0100
@@ -2 +2 @@
-Mon Aug 20 19:52:36 CEST 2007 - sbrabec@xxxxxxx
+Tue Feb 19 19:57:01 CET 2008 - schwab@xxxxxxx
@@ -4 +4 @@
-- Commented out NoSource to provide comfortable rebuild.
+- Fix undefined behaviour in AC_FUNC_MKTIME test.

New:
----
ac-func-mktime.diff
pre_checkin.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autoconf-el.spec ++++++
--- /var/tmp/diff_new_pack.i11625/_old 2008-02-25 16:58:37.000000000 +0100
+++ /var/tmp/diff_new_pack.i11625/_new 2008-02-25 16:58:37.000000000 +0100
@@ -1,24 +1,24 @@
#
# spec file for package autoconf-el (Version 2.61)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

-# norootforbuild
+

Name: autoconf-el
BuildRequires: emacs-nox
License: GPL v2 or later
Group: Productivity/Editors/Emacs
-Autoreqprov: on
+AutoReqProv: on
Version: 2.61
-Release: 65
+Release: 124
Summary: Emacs mode for editing GNU Autoconf scripts
-URL: http://www.gnu.org/software/autoconf
+Url: http://www.gnu.org/software/autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: autoconf-%{version}.tar.bz2
# Uncomment to save space:
@@ -70,117 +70,117 @@
%{site_lisp}/*.elc

%changelog
-* Mon Aug 20 2007 - sbrabec@xxxxxxx
-- Commented out NoSource to provide comfortable rebuild.
-* Fri Jun 01 2007 - schwab@xxxxxxx
+* Tue Feb 19 2008 schwab@xxxxxxx
+- Fix undefined behaviour in AC_FUNC_MKTIME test.
+* Fri Jun 01 2007 schwab@xxxxxxx
- Relax m4 requirement to work around autobuild bug.
-* Mon Apr 02 2007 - schwab@xxxxxxx
+* Mon Apr 02 2007 schwab@xxxxxxx
- Fix spurious testsuite failure.
-* Sun Mar 25 2007 - schwab@xxxxxxx
+* Sun Mar 25 2007 schwab@xxxxxxx
- Display testsuite log on failure.
-* Wed Dec 13 2006 - schwab@xxxxxxx
+* Wed Dec 13 2006 schwab@xxxxxxx
- Handle old style libltdl macros.
-* Mon Dec 04 2006 - schwab@xxxxxxx
+* Mon Dec 04 2006 schwab@xxxxxxx
- Update to autoconf 2.61.
** New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
** AC_ARG_ENABLE and AC_ARG_WITH now allow '.' in feature and package names.
-* Wed Aug 02 2006 - schwab@xxxxxxx
+* Wed Aug 02 2006 schwab@xxxxxxx
- Split off autoconf-el.
-* Thu Jul 20 2006 - schwab@xxxxxxx
+* Thu Jul 20 2006 schwab@xxxxxxx
- Fix testsuite.
-* Tue Jun 27 2006 - schwab@xxxxxxx
+* Tue Jun 27 2006 schwab@xxxxxxx
- Update to autoconf 2.60, see

<http://cvs.savannah.gnu.org/viewcvs/autoconf/autoconf/NEWS?r1=1.388&r2=1.322>.
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Sat Jun 19 2004 - schwab@xxxxxxx
+* Sat Jun 19 2004 schwab@xxxxxxx
- Require exact version of m4.
-* Thu Nov 13 2003 - schwab@xxxxxxx
+* Thu Nov 13 2003 schwab@xxxxxxx
- Update to autoconf 2.59, incorporates last change.
-* Mon Nov 10 2003 - schwab@xxxxxxx
+* Mon Nov 10 2003 schwab@xxxxxxx
- Fix abs_srcdir.
-* Tue Nov 04 2003 - schwab@xxxxxxx
+* Tue Nov 04 2003 schwab@xxxxxxx
- Update to autoconf 2.58.
-* Thu Sep 18 2003 - schwab@xxxxxxx
+* Thu Sep 18 2003 schwab@xxxxxxx
- Downgrade flock failure to a warning [#26962].
-* Mon Sep 08 2003 - schwab@xxxxxxx
+* Mon Sep 08 2003 schwab@xxxxxxx
- Add patch to serialize access to autom4te cache file [#26962].
-* Mon May 12 2003 - schwab@xxxxxxx
+* Mon May 12 2003 schwab@xxxxxxx
- Add %%defattr.
-* Thu Apr 24 2003 - ro@xxxxxxx
+* Thu Apr 24 2003 ro@xxxxxxx
- fix install_info --delete call and move from preun to postun
-* Mon Apr 07 2003 - schwab@xxxxxxx
+* Mon Apr 07 2003 schwab@xxxxxxx
- Only delete info entries when removing last version.
-* Thu Feb 06 2003 - schwab@xxxxxxx
+* Thu Feb 06 2003 schwab@xxxxxxx
- Use %%install_info.
-* Thu Dec 05 2002 - schwab@xxxxxxx
+* Thu Dec 05 2002 schwab@xxxxxxx
- Update to autoconf 2.57.
* Bug fixes for problems with AIX linker, with freestanding C compilers,
with GNU m4 limitations, and with obsolete copies of GNU documents.
-* Fri Nov 15 2002 - schwab@xxxxxxx
+* Fri Nov 15 2002 schwab@xxxxxxx
- Update to autoconf 2.56.
-* Tue Jun 11 2002 - schwab@xxxxxxx
+* Tue Jun 11 2002 schwab@xxxxxxx
- Fix missing info dir entries.
-* Mon May 13 2002 - schwab@xxxxxxx
+* Mon May 13 2002 schwab@xxxxxxx
- Fix invalid node name in docs [#16078].
-* Fri Apr 12 2002 - schwab@xxxxxxx
+* Fri Apr 12 2002 schwab@xxxxxxx
- Remove g77 from neededforbuild.
-* Mon Apr 08 2002 - schwab@xxxxxxx
+* Mon Apr 08 2002 schwab@xxxxxxx
- Run automake last in autoreconf.
-* Sun Apr 07 2002 - schwab@xxxxxxx
+* Sun Apr 07 2002 schwab@xxxxxxx
- Fix _AC_SRCPATHS.
-* Thu Apr 04 2002 - schwab@xxxxxxx
+* Thu Apr 04 2002 schwab@xxxxxxx
- Fix _AS_PATH_WALK.
-* Tue Apr 02 2002 - schwab@xxxxxxx
+* Tue Apr 02 2002 schwab@xxxxxxx
- Fix premature expansion in m4_bmatch.
-* Sat Mar 30 2002 - schwab@xxxxxxx
+* Sat Mar 30 2002 schwab@xxxxxxx
- Handle libltdl in autoreconf.
- Run automake after aclocal in autoreconf.
-* Fri Mar 15 2002 - schwab@xxxxxxx
+* Fri Mar 15 2002 schwab@xxxxxxx
- Handle gettext 0.11 in autoreconf.
-* Sat Mar 09 2002 - schwab@xxxxxxx
+* Sat Mar 09 2002 schwab@xxxxxxx
- Update to autoconf 2.53.
-* Sat Jul 21 2001 - schwab@xxxxxxx
+* Sat Jul 21 2001 schwab@xxxxxxx
- Always set {host,build,target}_alias.
-* Thu Jul 19 2001 - schwab@xxxxxxx
+* Thu Jul 19 2001 schwab@xxxxxxx
- Update to autoconf 2.52.
-* Mon Jun 11 2001 - olh@xxxxxxx
+* Mon Jun 11 2001 olh@xxxxxxx
- recognize ppc64
-* Tue May 22 2001 - schwab@xxxxxxx
+* Tue May 22 2001 schwab@xxxxxxx
- Update to autoconf 2.50.
- Add Buildroot.
-* Fri Mar 23 2001 - schwab@xxxxxxx
+* Fri Mar 23 2001 schwab@xxxxxxx
- Add m4 as neededforbuild.
- Require m4 and gawk.
-* Wed Mar 21 2001 - schwab@xxxxxxx
+* Wed Mar 21 2001 schwab@xxxxxxx
- Set F77 to g77 during `make check'.
-* Wed Feb 21 2001 - schwab@xxxxxxx
+* Wed Feb 21 2001 schwab@xxxxxxx
- Fix AC_PROC_CXXCPP.
- Add %%suse_update_config.
- Don't mark acconfig.h as %%config.
- Run testsuite.
-* Thu Jun 01 2000 - kukuk@xxxxxxx
+* Thu Jun 01 2000 kukuk@xxxxxxx
- Add more docu, fill out group tag
-* Mon May 01 2000 - kukuk@xxxxxxx
+* Mon May 01 2000 kukuk@xxxxxxx
- Use infodir macro
-* Fri Mar 24 2000 - schwab@xxxxxxx
+* Fri Mar 24 2000 schwab@xxxxxxx
- Fix conflicting declaration of exit.
-* Tue Jan 18 2000 - schwab@xxxxxxx
+* Tue Jan 18 2000 schwab@xxxxxxx
- Undefine m4 macro `symbols' (new builtin in m4 1.4o).
-* Mon Dec 06 1999 - schwab@xxxxxxx
+* Mon Dec 06 1999 schwab@xxxxxxx
- Discard output from `type -p'.
-* Thu Dec 02 1999 - schwab@xxxxxxx
+* Thu Dec 02 1999 schwab@xxxxxxx
- Make sure tempfiles are always removed.
- Fix some quoting bugs in shell scripts.
-* Thu Nov 04 1999 - ro@xxxxxxx
+* Thu Nov 04 1999 ro@xxxxxxx
- fixed for alphaev6
-* Mon Sep 13 1999 - bs@xxxxxxx
+* Mon Sep 13 1999 bs@xxxxxxx
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Wed Aug 25 1999 - kukuk@xxxxxxx
+* Wed Aug 25 1999 kukuk@xxxxxxx
- Specfile cleanup
-* Fri Jan 15 1999 - ro@xxxxxxx
+* Fri Jan 15 1999 ro@xxxxxxx
- update to 2.13
-* Thu Jul 23 1998 - werner@xxxxxxx
+* Thu Jul 23 1998 werner@xxxxxxx
- Make auto*.sh more secure and use mktemp if avaliable
-* Wed Jan 22 1997 - florian@xxxxxxx
+* Wed Jan 22 1997 florian@xxxxxxx
- update to version 2.12

++++++ autoconf.spec ++++++
--- /var/tmp/diff_new_pack.i11625/_old 2008-02-25 16:58:37.000000000 +0100
+++ /var/tmp/diff_new_pack.i11625/_new 2008-02-25 16:58:37.000000000 +0100
@@ -1,29 +1,30 @@
#
# spec file for package autoconf (Version 2.61)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

-# norootforbuild
+

Name: autoconf
BuildRequires: help2man
License: GPL v2 or later
Group: Development/Tools/Building
-URL: http://www.gnu.org/software/autoconf
-Autoreqprov: on
+Url: http://www.gnu.org/software/autoconf
+AutoReqProv: on
Requires: m4 >= %(rpm -q --qf=%%{VERSION} m4)
PreReq: %{install_info_prereq}
Version: 2.61
-Release: 42
+Release: 68
Summary: A GNU Tool for Automatically Configuring Source Code
Source: autoconf-%{version}.tar.bz2
Patch: autoreconf-ltdl.diff
Patch1: ac-proc-sed.diff
+Patch2: ac-func-mktime.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
@@ -47,9 +48,10 @@
David J MacKenzie <djm@xxxxxxxxxxxxxxxxxxxxxx>

%prep
-%setup
+%setup -q
%patch
%patch1
+%patch2 -p1

%build
%{suse_update_config -f config}
@@ -80,115 +82,117 @@
%doc %{_mandir}/man1/*.gz

%changelog
-* Fri Jun 01 2007 - schwab@xxxxxxx
+* Tue Feb 19 2008 schwab@xxxxxxx
+- Fix undefined behaviour in AC_FUNC_MKTIME test.
+* Fri Jun 01 2007 schwab@xxxxxxx
- Relax m4 requirement to work around autobuild bug.
-* Mon Apr 02 2007 - schwab@xxxxxxx
+* Mon Apr 02 2007 schwab@xxxxxxx
- Fix spurious testsuite failure.
-* Sun Mar 25 2007 - schwab@xxxxxxx
+* Sun Mar 25 2007 schwab@xxxxxxx
- Display testsuite log on failure.
-* Wed Dec 13 2006 - schwab@xxxxxxx
+* Wed Dec 13 2006 schwab@xxxxxxx
- Handle old style libltdl macros.
-* Mon Dec 04 2006 - schwab@xxxxxxx
+* Mon Dec 04 2006 schwab@xxxxxxx
- Update to autoconf 2.61.
** New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
** AC_ARG_ENABLE and AC_ARG_WITH now allow '.' in feature and package names.
-* Wed Aug 02 2006 - schwab@xxxxxxx
+* Wed Aug 02 2006 schwab@xxxxxxx
- Split off autoconf-el.
-* Thu Jul 20 2006 - schwab@xxxxxxx
+* Thu Jul 20 2006 schwab@xxxxxxx
- Fix testsuite.
-* Tue Jun 27 2006 - schwab@xxxxxxx
+* Tue Jun 27 2006 schwab@xxxxxxx
- Update to autoconf 2.60, see

<http://cvs.savannah.gnu.org/viewcvs/autoconf/autoconf/NEWS?r1=1.388&r2=1.322>.
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Sat Jun 19 2004 - schwab@xxxxxxx
+* Sat Jun 19 2004 schwab@xxxxxxx
- Require exact version of m4.
-* Thu Nov 13 2003 - schwab@xxxxxxx
+* Thu Nov 13 2003 schwab@xxxxxxx
- Update to autoconf 2.59, incorporates last change.
-* Mon Nov 10 2003 - schwab@xxxxxxx
+* Mon Nov 10 2003 schwab@xxxxxxx
- Fix abs_srcdir.
-* Tue Nov 04 2003 - schwab@xxxxxxx
+* Tue Nov 04 2003 schwab@xxxxxxx
- Update to autoconf 2.58.
-* Thu Sep 18 2003 - schwab@xxxxxxx
+* Thu Sep 18 2003 schwab@xxxxxxx
- Downgrade flock failure to a warning [#26962].
-* Mon Sep 08 2003 - schwab@xxxxxxx
+* Mon Sep 08 2003 schwab@xxxxxxx
- Add patch to serialize access to autom4te cache file [#26962].
-* Mon May 12 2003 - schwab@xxxxxxx
+* Mon May 12 2003 schwab@xxxxxxx
- Add %%defattr.
-* Thu Apr 24 2003 - ro@xxxxxxx
+* Thu Apr 24 2003 ro@xxxxxxx
- fix install_info --delete call and move from preun to postun
-* Mon Apr 07 2003 - schwab@xxxxxxx
+* Mon Apr 07 2003 schwab@xxxxxxx
- Only delete info entries when removing last version.
-* Thu Feb 06 2003 - schwab@xxxxxxx
+* Thu Feb 06 2003 schwab@xxxxxxx
- Use %%install_info.
-* Thu Dec 05 2002 - schwab@xxxxxxx
+* Thu Dec 05 2002 schwab@xxxxxxx
- Update to autoconf 2.57.
* Bug fixes for problems with AIX linker, with freestanding C compilers,
with GNU m4 limitations, and with obsolete copies of GNU documents.
-* Fri Nov 15 2002 - schwab@xxxxxxx
+* Fri Nov 15 2002 schwab@xxxxxxx
- Update to autoconf 2.56.
-* Tue Jun 11 2002 - schwab@xxxxxxx
+* Tue Jun 11 2002 schwab@xxxxxxx
- Fix missing info dir entries.
-* Mon May 13 2002 - schwab@xxxxxxx
+* Mon May 13 2002 schwab@xxxxxxx
- Fix invalid node name in docs [#16078].
-* Fri Apr 12 2002 - schwab@xxxxxxx
+* Fri Apr 12 2002 schwab@xxxxxxx
- Remove g77 from neededforbuild.
-* Mon Apr 08 2002 - schwab@xxxxxxx
+* Mon Apr 08 2002 schwab@xxxxxxx
- Run automake last in autoreconf.
-* Sun Apr 07 2002 - schwab@xxxxxxx
+* Sun Apr 07 2002 schwab@xxxxxxx
- Fix _AC_SRCPATHS.
-* Thu Apr 04 2002 - schwab@xxxxxxx
+* Thu Apr 04 2002 schwab@xxxxxxx
- Fix _AS_PATH_WALK.
-* Tue Apr 02 2002 - schwab@xxxxxxx
+* Tue Apr 02 2002 schwab@xxxxxxx
- Fix premature expansion in m4_bmatch.
-* Sat Mar 30 2002 - schwab@xxxxxxx
+* Sat Mar 30 2002 schwab@xxxxxxx
- Handle libltdl in autoreconf.
- Run automake after aclocal in autoreconf.
-* Fri Mar 15 2002 - schwab@xxxxxxx
+* Fri Mar 15 2002 schwab@xxxxxxx
- Handle gettext 0.11 in autoreconf.
-* Sat Mar 09 2002 - schwab@xxxxxxx
+* Sat Mar 09 2002 schwab@xxxxxxx
- Update to autoconf 2.53.
-* Sat Jul 21 2001 - schwab@xxxxxxx
+* Sat Jul 21 2001 schwab@xxxxxxx
- Always set {host,build,target}_alias.
-* Thu Jul 19 2001 - schwab@xxxxxxx
+* Thu Jul 19 2001 schwab@xxxxxxx
- Update to autoconf 2.52.
-* Mon Jun 11 2001 - olh@xxxxxxx
+* Mon Jun 11 2001 olh@xxxxxxx
- recognize ppc64
-* Tue May 22 2001 - schwab@xxxxxxx
+* Tue May 22 2001 schwab@xxxxxxx
- Update to autoconf 2.50.
- Add Buildroot.
-* Fri Mar 23 2001 - schwab@xxxxxxx
+* Fri Mar 23 2001 schwab@xxxxxxx
- Add m4 as neededforbuild.
- Require m4 and gawk.
-* Wed Mar 21 2001 - schwab@xxxxxxx
+* Wed Mar 21 2001 schwab@xxxxxxx
- Set F77 to g77 during `make check'.
-* Wed Feb 21 2001 - schwab@xxxxxxx
+* Wed Feb 21 2001 schwab@xxxxxxx
- Fix AC_PROC_CXXCPP.
- Add %%suse_update_config.
- Don't mark acconfig.h as %%config.
- Run testsuite.
-* Thu Jun 01 2000 - kukuk@xxxxxxx
+* Thu Jun 01 2000 kukuk@xxxxxxx
- Add more docu, fill out group tag
-* Mon May 01 2000 - kukuk@xxxxxxx
+* Mon May 01 2000 kukuk@xxxxxxx
- Use infodir macro
-* Fri Mar 24 2000 - schwab@xxxxxxx
+* Fri Mar 24 2000 schwab@xxxxxxx
- Fix conflicting declaration of exit.
-* Tue Jan 18 2000 - schwab@xxxxxxx
+* Tue Jan 18 2000 schwab@xxxxxxx
- Undefine m4 macro `symbols' (new builtin in m4 1.4o).
-* Mon Dec 06 1999 - schwab@xxxxxxx
+* Mon Dec 06 1999 schwab@xxxxxxx
- Discard output from `type -p'.
-* Thu Dec 02 1999 - schwab@xxxxxxx
+* Thu Dec 02 1999 schwab@xxxxxxx
- Make sure tempfiles are always removed.
- Fix some quoting bugs in shell scripts.
-* Thu Nov 04 1999 - ro@xxxxxxx
+* Thu Nov 04 1999 ro@xxxxxxx
- fixed for alphaev6
-* Mon Sep 13 1999 - bs@xxxxxxx
+* Mon Sep 13 1999 bs@xxxxxxx
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Wed Aug 25 1999 - kukuk@xxxxxxx
+* Wed Aug 25 1999 kukuk@xxxxxxx
- Specfile cleanup
-* Fri Jan 15 1999 - ro@xxxxxxx
+* Fri Jan 15 1999 ro@xxxxxxx
- update to 2.13
-* Thu Jul 23 1998 - werner@xxxxxxx
+* Thu Jul 23 1998 werner@xxxxxxx
- Make auto*.sh more secure and use mktemp if avaliable
-* Wed Jan 22 1997 - florian@xxxxxxx
+* Wed Jan 22 1997 florian@xxxxxxx
- update to version 2.12

++++++ ac-func-mktime.diff ++++++
2006-12-22 Paul Eggert <eggert@xxxxxxxxxxx>

* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
Include <limits.h>, and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'. Problem reported by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
Also, don't assume time_t uses two's complement.

diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 185376e..a34c9f0 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -984,6 +984,7 @@ AC_CACHE_CHECK([for working mktime],
ac_cv_func_working_mktime,
# endif
#endif

+#include <limits.h>
#include <stdlib.h>

#ifdef HAVE_UNISTD_H
@@ -1132,12 +1133,15 @@ main ()
isn't worth using anyway. */
alarm (60);

- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
- continue;
- time_t_max--;
- if ((time_t) -1 < 0)
- for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
- continue;
+ for (;;)
+ {
+ t = (time_t_max << 1) + 1;
+ if (t <= time_t_max)
+ break;
+ time_t_max = t;
+ }
+ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
+
delta = time_t_max / 997; /* a suitable prime number */
for (i = 0; i < N_STRINGS; i++)
{
@@ -1152,10 +1156,12 @@ main ()
&& mktime_test ((time_t) (60 * 60 * 24))))
return 1;

- for (j = 1; 0 < j; j *= 2)
+ for (j = 1; ; j <<= 1)
if (! bigtime_test (j))
return 1;
- if (! bigtime_test (j - 1))
+ else if (INT_MAX / 2 < j)
+ break;
+ if (! bigtime_test (INT_MAX))
return 1;
}
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages