Commit 4c9ce716 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Obvious files that need inheritance, correct me if I'm wrong.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89561 13f79535-47bb-0310-9956-ffa450edef68
parent bb9f1cd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ static void cache_the_file(cmd_parms *cmd, const char *filename, int mmap)
	return;
    }

    rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD,
    rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD | APR_INHERIT,
                       APR_OS_DEFAULT, cmd->pool);
    if (rc != APR_SUCCESS) {
        ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server,
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@

module AP_MODULE_DECLARE_DATA log_config_module;

static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE);
static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE | APR_INHERIT);
static apr_fileperms_t xfer_perms = APR_OS_DEFAULT;
static apr_hash_t *log_hash;

+1 −1
Original line number Diff line number Diff line
@@ -3096,7 +3096,7 @@ static void open_rewritelog(server_rec *s, apr_pool_t *p)
    const char *fname;
    apr_status_t rc;
    piped_log *pl;
    int    rewritelog_flags = ( APR_WRITE | APR_APPEND | APR_CREATE );
    int    rewritelog_flags = ( APR_WRITE | APR_APPEND | APR_CREATE | APR_INHERIT );
    apr_fileperms_t rewritelog_mode  = ( APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD );

    conf = ap_get_module_config(s->module_config, &rewrite_module);
+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ static void open_error_log(server_rec *s, apr_pool_t *p)
    else {
	fname = ap_server_root_relative(p, s->error_fname);
        rc = apr_file_open(&s->error_log, fname, 
                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE | APR_INHERIT,
                      APR_OS_DEFAULT, p);
        if (rc != APR_SUCCESS) {
            ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,