diff options
author | Ryan Bloom <rbb@apache.org> | 2000-10-18 17:58:29 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-10-18 17:58:29 +0200 |
commit | dddb7a835da181fd7d94c94d0c0accdf23644d58 (patch) | |
tree | 76464e6b480de4ee380c010b2663096b0ebfda78 /srclib/expat-lite/libexpat.def | |
parent | Add a core_request_config so we have a safe semi-hidden place to save core data (diff) | |
download | apache2-dddb7a835da181fd7d94c94d0c0accdf23644d58.tar.xz apache2-dddb7a835da181fd7d94c94d0c0accdf23644d58.zip |
The final line of the config file was not being read if there was
no \n at the end of it. This was caused by apr_fgets returning
APR_EOF even though we had read valid data. This is solved by
making cfg_getline check the buff that was returned from apr_fgets.
If apr_fgets return APR_EOF, but there was data in the buf, then we
return the buf, otherwise we return NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'srclib/expat-lite/libexpat.def')
0 files changed, 0 insertions, 0 deletions