diff options
author | Sascha Schumann <sas@php.net> | 2003-02-11 02:23:29 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-02-11 02:23:29 +0000 |
commit | 67f18fcf6c5918e9273dbdab165b99bd60b3e736 (patch) | |
tree | 1e2d013a9b05d7d1a8f2518dcb6d7f57fbd2d5b8 /sapi/apache/mod_php4.c | |
parent | 90ade25ad0fd0252412f7d7e69a30c888f280ec6 (diff) | |
download | php-git-67f18fcf6c5918e9273dbdab165b99bd60b3e736.tar.gz |
Detect whether BUFFs contain a fd element. IBM is hiding the actual
descriptor behind a void *, so we just disable this for IBM servers
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r-- | sapi/apache/mod_php4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 9f3d7444dd..f0cb048b7e 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -348,6 +348,7 @@ static char *php_apache_getenv(char *name, size_t name_len TSRMLS_DC) */ static int sapi_apache_get_fd(int *nfd TSRMLS_DC) { +#if PHP_APACHE_HAVE_CLIENT_FD request_rec *r = SG(server_context); int fd; @@ -357,6 +358,7 @@ static int sapi_apache_get_fd(int *nfd TSRMLS_DC) if (nfd) *nfd = fd; return SUCCESS; } +#endif return FAILURE; } /* }}} */ |