]> granicus.if.org Git - apache/commitdiff
Add CHANGES entry for r1086756 / ap_cfg_* change
authorStefan Fritsch <sf@apache.org>
Tue, 29 Mar 2011 21:38:03 +0000 (21:38 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 29 Mar 2011 21:38:03 +0000 (21:38 +0000)
Update docs for ap_cfg_getc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086761 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
include/http_config.h

diff --git a/CHANGES b/CHANGES
index 6960372063754b3c6e9226357f7bf322da33d625..17256797ebb878d8d1ed14ae48250634de7753ab 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.3.12
 
+  *) core: Change the APIs of ap_cfg_getline() and ap_cfg_getc() to return an
+     error code. Abort with a nice error message if a config line is too long.
+     Partial fix for PR 50824. [Stefan Fritsch]
+
   *) mod_info: Dump config to stdout during startup if -DDUMP_CONFIG is
      specified. [Stefan Fritsch]
 
index 52a407d5f3fd18da7b12e2af907f18ed381b626b..12797d5455dc86c060e6366fe68cd0da3346883e 100644 (file)
@@ -786,8 +786,9 @@ AP_DECLARE(apr_status_t) ap_cfg_getline(char *buf, size_t bufsize, ap_configfile
 
 /**
  * Read one char from open configfile_t, increase line number upon LF 
+ * @param ch place to store the char read
  * @param cfp The file to read from
- * @return the character read
+ * @return error status
  */
 AP_DECLARE(apr_status_t) ap_cfg_getc(char *ch, ap_configfile_t *cfp);