diff options
author | Thies C. Arntzen <thies@php.net> | 1999-12-21 16:51:27 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-12-21 16:51:27 +0000 |
commit | e96c5401f1d4ce65ec39d5ac3317ac3313c9b804 (patch) | |
tree | 31aab3313d7afae2f3020c0aab4560fe058f72a6 | |
parent | 4fb1e2788fa4b8895b476e01a1803eaa316e3e41 (diff) | |
download | php-git-e96c5401f1d4ce65ec39d5ac3317ac3313c9b804.tar.gz |
commented out select() & friends for now - we need to come up with a good API for those!
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ext/standard/file.c | 11 |
2 files changed, 10 insertions, 2 deletions
@@ -2,6 +2,7 @@ PHP 4.0 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ?? ????, Version 4.0 Beta 4 +- Removed select(), fd_set() and fd_isset() - will be reimplemented soon! (Thies) - Improved Win32 performance significantly by using different mutexes (Zeev, TSRM library) - Made quotemeta() and preg_quote() binary-safe. (Andrei) diff --git a/ext/standard/file.c b/ext/standard/file.c index 63a3ea4f77..42ae02e775 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -111,8 +111,6 @@ static void _file_upload_dtor(char *file); /* sharing globals is *evil* */ static int le_fopen,le_popen, le_socket, le_uploads; -static fd_set readfd; -static int max_fd; /* }}} */ /* {{{ tempnam */ @@ -244,9 +242,11 @@ function_entry file_functions[] = { #if (0 && defined(HAVE_SYS_TIME_H) && HAVE_SETSOCKOPT && defined(SO_SNDTIMEO) && defined(SO_RCVTIMEO)) PHP_FE(set_socket_timeout, NULL) #endif +#if 0 /* needs to be rethought 991221 thies@digicol.de */ PHP_FE(fd_set, NULL) PHP_FE(fd_isset, NULL) PHP_FE(select, NULL) +#endif {NULL, NULL, NULL} }; @@ -1674,6 +1674,11 @@ PHP_FUNCTION(fgetcsv) { /* }}} */ +#if 0 + +static fd_set readfd; +static int max_fd; + PHP_FUNCTION(fd_set) { pval **arg; @@ -1765,3 +1770,5 @@ PHP_FUNCTION(fd_isset) } RETURN_FALSE; } + +#endif |