cvs: /php4 NEWS /php4/ext/standard file.c
| From: | Thies C. Arntzen | Date: | Tue, 21 Dec 1999 16:51:29 +0000 |
| Subject: | cvs: /php4 NEWS /php4/ext/standard file.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8317@lists.php.net to get a copy of this message | ||
thies Tue Dec 21 11:51:29 1999 EDT
Modified files:
/php4 NEWS
/php4/ext/standard file.c
Log:
commented out select() & friends for now - we need to come up with a good API for those!
Index: php4/NEWS
diff -u php4/NEWS:1.88 php4/NEWS:1.89
--- php4/NEWS:1.88 Tue Dec 21 10:25:13 1999
+++ php4/NEWS Tue Dec 21 11:51:25 1999
@@ -2,6 +2,7 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? ????, 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)
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.53 php4/ext/standard/file.c:1.54
--- php4/ext/standard/file.c:1.53 Mon Dec 20 12:34:55 1999
+++ php4/ext/standard/file.c Tue Dec 21 11:51:27 1999
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.53 1999/12/20 17:34:55 andrei Exp $ */
+/* $Id: file.c,v 1.54 1999/12/21 16:51:27 thies Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -111,8 +111,6 @@
/* 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 @@
#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 @@
/* }}} */
+#if 0
+
+static fd_set readfd;
+static int max_fd;
+
PHP_FUNCTION(fd_set)
{
pval **arg;
@@ -1765,3 +1770,5 @@
}
RETURN_FALSE;
}
+
+#endif