]> granicus.if.org Git - apache/commit
Change the ap_cfg_getline() and ap_cfg_getc() to return an error code.
authorStefan Fritsch <sf@apache.org>
Tue, 29 Mar 2011 21:29:34 +0000 (21:29 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 29 Mar 2011 21:29:34 +0000 (21:29 +0000)
commit7b61bedb2f1534f3cb9608be93e04feabd46a723
tree6438f95185caeea31ceccdeb5bdf767142971fa8
parentd7ece730e9d9ed8ca287021550ffd266ce30b518
Change the ap_cfg_getline() and ap_cfg_getc() to return an error code.

Also:
- Make ap_cfg_getline() return APR_ENOSPC if a config line is too long.
- Add ap_pcfg_strerror() function to convert ap_cfg_getline's return value
  into a nice message.
- Adjust definition of ap_configfile_t accordingly.

Not bumping MMN because it has already been bumped today.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086756 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/developer/new_api_2_4.xml
include/ap_mmn.h
include/http_config.h
modules/lua/mod_lua.c
server/config.c
server/util.c