cvs: php4 /ext/standard file.c

From: Date: Sat, 22 Jul 2000 01:53:16 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-856@lists.php.net to get a copy of this message
david Fri Jul 21 18:53:16 2000 EDT Modified files: /php4/ext/standard file.c Log: fixed socket_set blocking in windows (bug 3845) Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.99 php4/ext/standard/file.c:1.100 --- php4/ext/standard/file.c:1.99 Fri Jul 7 02:06:47 2000 +++ php4/ext/standard/file.c Fri Jul 21 18:53:16 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.99 2000/07/07 09:06:47 stas Exp $ */ +/* $Id: file.c,v 1.100 2000/07/22 01:53:16 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; + flags = block ? 0 : 1; if (ioctlsocket(socketd,FIONBIO,&flags)==SOCKET_ERROR){ php_error(E_WARNING,"%s",WSAGetLastError()); ret = FALSE;

« previous php.cvs (#856) next »