diff options
author | Thies C. Arntzen <thies@php.net> | 2000-07-10 07:57:01 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-07-10 07:57:01 +0000 |
commit | 1cee6c5b781d791ead0bed07005f6ceea50aa301 (patch) | |
tree | 88847366ec296a2a5cec5242576a02f8f51cc801 /sapi/apache/sapi_apache.c | |
parent | bab31955c225ed8461bb053dbee656ddedf168a1 (diff) | |
download | php-git-1cee6c5b781d791ead0bed07005f6ceea50aa301.tar.gz |
@- Fixed closing
Diffstat (limited to 'sapi/apache/sapi_apache.c')
-rw-r--r-- | sapi/apache/sapi_apache.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c index 6db64b5fa4..d9c3c7674b 100644 --- a/sapi/apache/sapi_apache.c +++ b/sapi/apache/sapi_apache.c @@ -59,23 +59,18 @@ /*#include "mod_php4.h"*/ -int apache_php_module_main(request_rec *r, int fd, int display_source_mode CLS_DC ELS_DC PLS_DC SLS_DC) +int apache_php_module_main(request_rec *r, int display_source_mode CLS_DC ELS_DC PLS_DC SLS_DC) { zend_file_handle file_handle; if (php_request_startup(CLS_C ELS_CC PLS_CC SLS_CC) == FAILURE) { return FAILURE; } -#ifdef PHP_WIN32 /* sending a file handle to another dll is not working // so let zend open it. */ file_handle.type = ZEND_HANDLE_FILENAME; file_handle.handle.fd = 0; -#else - file_handle.type = ZEND_HANDLE_FD; - file_handle.handle.fd = fd; -#endif file_handle.filename = SG(request_info).path_translated; file_handle.free_filename = 0; |