httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r587670 - /httpd/httpd/trunk/server/log.c
Date Tue, 23 Oct 2007 22:01:31 GMT
Author: wrowe
Date: Tue Oct 23 15:01:29 2007
New Revision: 587670

URL: http://svn.apache.org/viewvc?rev=587670&view=rev
Log:
We now have an API to describe pipe creation timeout states, so use it
to ensure no platform has quirks with their particular default.

Modified:
    httpd/httpd/trunk/server/log.c

Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?rev=587670&r1=587669&r2=587670&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Tue Oct 23 15:01:29 2007
@@ -1000,8 +1000,9 @@
     pl->p = p;
     pl->program = apr_pstrdup(p, program);
     pl->pid = NULL;
-    if (apr_file_pipe_create(&ap_piped_log_read_fd(pl),
-                             &ap_piped_log_write_fd(pl), p) != APR_SUCCESS) {
+    if (apr_file_pipe_create_ex(&ap_piped_log_read_fd(pl),
+                                &ap_piped_log_write_fd(pl),
+                                APR_FULL_BLOCK, p) != APR_SUCCESS) {
         return NULL;
     }
     apr_pool_cleanup_register(p, pl, piped_log_cleanup,



Mime
View raw message