]> granicus.if.org Git - php/commitdiff
- Mention the socket_select() API change
authorMarkus Fischer <mfischer@php.net>
Wed, 1 May 2002 07:25:23 +0000 (07:25 +0000)
committerMarkus Fischer <mfischer@php.net>
Wed, 1 May 2002 07:25:23 +0000 (07:25 +0000)
NEWS

diff --git a/NEWS b/NEWS
index 4ad19bfec325246a66864e4816e0c1f53033ef8b..c4538368f770cfbc7cd8f013277d8ab67fadf7bb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 03 May 2002, Version 4.2.1
+- Fixed a bug in socket_select() that could cause unexpected behavior when
+  using a statement like $w = $e = array($sock); This change unfortunately
+  prevents the use of constant values (e.g. NULL) for the socket array
+  paramaters. Instead, use a temporary variable or an expression with the
+  leftmost member being a temporary variable. ex.:
+  socket_select($w, $r, $e = NULL, 10); (Jason)
 - Fixed malformed atime/mtime with touch(). (Yasuo)
 - Fixed a couple of bugs in array_sum() and array_merge(). (Andrei)
 - Fixed SJIS directory name handling under Windows. (Rui)