You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/05/17 10:03:03 UTC
svn commit: r170537 - /httpd/httpd/trunk/server/log.c
Author: jorton
Date: Tue May 17 01:03:03 2005
New Revision: 170537
URL: http://svn.apache.org/viewcvs?rev=170537&view=rev
Log:
* server/log.c (ap_open_piped_log): Remove errno handling.
Modified:
httpd/httpd/trunk/server/log.c
Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/log.c?rev=170537&r1=170536&r2=170537&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Tue May 17 01:03:03 2005
@@ -927,11 +927,9 @@
apr_pool_cleanup_register(p, pl, piped_log_cleanup,
piped_log_cleanup_for_exec);
if (piped_log_spawn(pl) != APR_SUCCESS) {
- int save_errno = errno;
apr_pool_cleanup_kill(p, pl, piped_log_cleanup);
apr_file_close(ap_piped_log_read_fd(pl));
apr_file_close(ap_piped_log_write_fd(pl));
- errno = save_errno;
return NULL;
}
return pl;