cvs: php4 /ext/standard file.c
| From: | David Croft | Date: | Sat, 22 Jul 2000 04:23:41 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-857@lists.php.net to get a copy of this message | ||
david Fri Jul 21 21:23:41 2000 EDT
Modified files:
/php4/ext/standard file.c
Log:
# zeev is god
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.100 php4/ext/standard/file.c:1.101
--- php4/ext/standard/file.c:1.100 Fri Jul 21 18:53:16 2000
+++ php4/ext/standard/file.c Fri Jul 21 21:23:41 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.100 2000/07/22 01:53:16 david Exp $ */
+/* $Id: file.c,v 1.101 2000/07/22 04:23:41 david Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -827,7 +827,7 @@
#ifdef PHP_WIN32
/* with ioctlsocket, a non-zero sets nonblocking, a zero sets blocking */
- flags = block ? 0 : 1;
+ flags = !block;
if (ioctlsocket(socketd,FIONBIO,&flags)==SOCKET_ERROR){
php_error(E_WARNING,"%s",WSAGetLastError());
ret = FALSE;