Commit 62fcc23b authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  That's not a -D'ef - its an envar - you can't pass foo=bar in apache!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87682 13f79535-47bb-0310-9956-ffa450edef68
parent 85292bb0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1827,7 +1827,7 @@ void winnt_rewrite_args(process_rec *process)
    char optbuf[3];
    const char *optarg;
    int fixed_args;
    int pid;
    char *pid;
    apr_getopt_t *opt;
    int running_as_service = 1;

@@ -1835,11 +1835,12 @@ void winnt_rewrite_args(process_rec *process)
    GetVersionEx(&osver);

    /* AP_PARENT_PID is only valid in the child */
    pid = ap_exists_config_define("AP_PARENT_PID");
    pid = getenv("AP_PARENT_PID");
    if (pid) 
    {
        /* This is the child */
        my_pid = GetCurrentProcessId();
        parent_pid = (DWORD) atol(pid);

        /* The parent is responsible for providing the
         * COMPLETE ARGUMENTS REQUIRED to the child.