You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2023/01/03 08:51:28 UTC

svn commit: r1906349 - in /apr/apr/branches/1.7.x: ./ CHANGES build/ build/apr_common.m4

Author: jorton
Date: Tue Jan  3 08:51:28 2023
New Revision: 1906349

URL: http://svn.apache.org/viewvc?rev=1906349&view=rev
Log:
Merge r1906347 from trunk:

Fix configure for compilers which don't accept implicit
int (no longer part of C since C99).

Submitted by: Florian Weimer <fweimer redhat.com>
PR: 66396

Modified:
    apr/apr/branches/1.7.x/   (props changed)
    apr/apr/branches/1.7.x/CHANGES
    apr/apr/branches/1.7.x/build/   (props changed)
    apr/apr/branches/1.7.x/build/apr_common.m4

Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1906347

Modified: apr/apr/branches/1.7.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/CHANGES?rev=1906349&r1=1906348&r2=1906349&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.7.x/CHANGES [utf-8] Tue Jan  3 08:51:28 2023
@@ -6,6 +6,9 @@ Changes for APR 1.7.1
      (This issue was addressed as CVE-2017-12613 in APR 1.6.3 and
      later 1.6.x releases, but was missing in 1.7.0.)  [Stefan Sperling]
 
+  *) configure: Fix configure for compilers which don't accept implicit
+     "int".  PR 66396.  [Florian Weimer <fweimer redhat.com>]
+
   *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov]
 
   *) configure: Prefer posix name-based shared memory over SysV IPC.

Propchange: apr/apr/branches/1.7.x/build/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk/build:r1906347

Modified: apr/apr/branches/1.7.x/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/build/apr_common.m4?rev=1906349&r1=1906348&r2=1906349&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/build/apr_common.m4 (original)
+++ apr/apr/branches/1.7.x/build/apr_common.m4 Tue Jan  3 08:51:28 2023
@@ -499,7 +499,7 @@ AC_CACHE_CHECK([whether return code from
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
-main()
+int main(void)
 {
   char buf[1024];
   if (strerror_r(ERANGE, buf, sizeof buf) < 1) {