]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_info: Fix output of server settings for
authorRainer Jung <rjung@apache.org>
Thu, 16 May 2019 13:04:23 +0000 (13:04 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 16 May 2019 13:04:23 +0000 (13:04 +0000)
PIPE_BUF in mod_info in the rare case that
PIPE_BUF is defined.

Backport of 1857515 from trunk.
Proposed by: rjung
Backported by: rjung
Reviewed by: rjung, jailletc36, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1859375 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/generators/mod_info.c

diff --git a/CHANGES b/CHANGES
index a9dabfa4c66556de9fd52af9d62f6b251f67584a..eb2f54eec013c2ed9cf733db8c7031ddb8deb67e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.4.40
 
+  *) mod_info: Fix output of server settings for PIPE_BUF in mod_info in
+     the rare case that PIPE_BUF is defined. [Rainer Jung]
+
   *) mod_md: Store permissions are enforced on file creation, enforcing restrictions in
      spite of umask. Fixes <https://github.com/icing/mod_md/issues/117>. [Stefan Eissing]
 
diff --git a/STATUS b/STATUS
index 7223d883f83aef98018454e987ce7036210ac584..7d96f146ab2d01d51acc4a787d10f34e5f017e8b 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -221,13 +221,6 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
      2.4.x patch: svn merge -c 1857129,1857130 ^/httpd/httpd/trunk .
      +1: ylavic, rpluem, jim
 
-  *) mod_info: Fix wrong use of ap_rputs with formats.
-     Use ap_rprintf instead.
-     It seems noone has PIPE_BUF defined.
-     trunk patch: http://svn.apache.org/r1857515
-     2.4.x patch: svn merge -c 1857515 ^/httpd/httpd/trunk .
-     +1: rjung, jailletc36, jim
-
   *) mod_status: PR60647: ACC per connection not available w/ event MPM
      trunk patch: http://svn.apache.org/r1780280
      2.4.x patch: svn merge -c 1780280 ^/httpd/httpd/trunk .
index 7876264d41aa1a5767d5ffeffb21182806c637b9..e7af7839427ede7acddbd059ea246f870e2f0df1 100644 (file)
@@ -577,7 +577,7 @@ static int show_server_settings(request_rec * r)
 #ifdef BUFFERED_LOGS
     ap_rputs(" -D BUFFERED_LOGS\n", r);
 #ifdef PIPE_BUF
-    ap_rputs(" -D PIPE_BUF=%ld\n", (long) PIPE_BUF, r);
+    ap_rprintf(r, " -D PIPE_BUF=%ld\n", (long) PIPE_BUF);
 #endif
 #endif