]> granicus.if.org Git - apache/commitdiff
Save the write end of the pipe. pipe_log_spawn really needs to be combined with
authorBill Stoddard <stoddard@apache.org>
Wed, 12 Jul 2000 22:00:58 +0000 (22:00 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 12 Jul 2000 22:00:58 +0000 (22:00 +0000)
log_child.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85828 13f79535-47bb-0310-9956-ffa450edef68

server/log.c

index 9dad456fb340eab5ff6ab04b4d829426645e9809..2b74a494efb58ee0da71d871eb8744682ad96cc6 100644 (file)
@@ -618,6 +618,7 @@ static int piped_log_spawn(piped_log *pl)
             /*   successful that the child is running.        */
             RAISE_SIGSTOP(PIPED_LOG_SPAWN); 
             pl->pid = procnew;
+            ap_piped_log_write_fd(pl) = procnew->in;
             ap_register_other_child(procnew, piped_log_maintenance, pl, 
                                     ap_piped_log_write_fd(pl), pl->p);
         }