commented out select() & friends for now - we need to come up with a good API for those!

This commit is contained in:
Thies C. Arntzen 1999-12-21 16:51:27 +00:00
parent 4fb1e2788f
commit e96c5401f1
2 changed files with 10 additions and 2 deletions

1
NEWS
View File

@ -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)

View File

@ -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