git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90629
13f79535-47bb-0310-9956-
ffa450edef68
#include "apr_file_io.h"
#include "apr_lib.h"
-#define APR_WANT_STDIO /* for EOF */
#define APR_WANT_STRFUNC
#include "apr_want.h"
while (apr_file_getc(&c, map) != APR_EOF) {
if (c == '#') {
/* Comment line */
- while (apr_file_getc(&c, map) != EOF && c != '\n') {
+ while (apr_file_getc(&c, map) != APR_EOF && c != '\n') {
continue;
}
}
/* Continuation */
- while (cp < buf_end - 2 && (apr_file_getc(&c, map)) != EOF && c != '\n') {
+ while (cp < buf_end - 2 && (apr_file_getc(&c, map)) != APR_EOF && c != '\n') {
*cp++ = c;
}