]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use "char c = '\200';".
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 21:51:06 +0000 (21:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Dec 2004 21:51:06 +0000 (21:51 +0000)
ChangeLog

index 7b5907eb6e50124b23765033a147cdc7eaa9e777..4d7a226bfbdf103426c6202ee0795461f9c5ebba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
+       "char c = '\200';" rather than "char c = 0x80;" as the
+       latter doesn't conform to the strict C standard due to
+       overflow on signed char hosts.
+
        * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
        to -qlanglvl=ansi.  We don't want to disable extensions.