]>
Commit | Line | Data |
---|---|---|
0e467b1f AM |
1 | |
2 | Open log files read-only; Jeff Trawick, r1.135 from CVS. | |
3 | ||
4 | --- httpd-2.0.46/server/log.c.rolog | |
5 | +++ httpd-2.0.46/server/log.c | |
6 | @@ -200,7 +200,7 @@ | |
7 | return APR_EBADPATH; | |
8 | } | |
9 | if ((rc = apr_file_open(&stderr_file, filename, | |
10 | - APR_APPEND | APR_READ | APR_WRITE | APR_CREATE, | |
11 | + APR_APPEND | APR_WRITE | APR_CREATE, | |
12 | APR_OS_DEFAULT, p)) != APR_SUCCESS) { | |
13 | ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, | |
14 | "%s: could not open error log file %s.", | |
15 | @@ -313,7 +313,7 @@ | |
16 | return DONE; | |
17 | } | |
18 | if ((rc = apr_file_open(&s->error_log, fname, | |
19 | - APR_APPEND | APR_READ | APR_WRITE | APR_CREATE, | |
20 | + APR_APPEND | APR_WRITE | APR_CREATE, | |
21 | APR_OS_DEFAULT, p)) != APR_SUCCESS) { | |
22 | ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, | |
23 | "%s: could not open error log file %s.", |