cvs: /php4/ext/standard file.c
| From: | Sascha Schumann | Date: | Sat, 28 Aug 1999 13:53:47 +0000 |
| Subject: | cvs: /php4/ext/standard file.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-3808@lists.php.net to get a copy of this message | ||
sas Sat Aug 28 09:53:47 1999 EDT
Modified files:
/php4/ext/standard file.c
Log:
merge in fix from php3
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.24 php4/ext/standard/file.c:1.25
--- php4/ext/standard/file.c:1.24 Mon Aug 2 15:16:50 1999
+++ php4/ext/standard/file.c Sat Aug 28 09:53:46 1999
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.24 1999/08/02 19:16:50 zeev Exp $ */
+/* $Id: file.c,v 1.25 1999/08/28 13:53:46 sas Exp $ */
/* Synced with php3 revision 1.218 1999-06-16 [ssb] */
@@ -752,7 +752,7 @@
#elif defined(O_NDELAY)
myflag = O_NDELAY; /* old non-POSIX version */
#endif
- if (block) {
+ if (!block) {
flags |= myflag;
} else {
flags &= ~myflag;