I didn't quite understand why you didn't add this in PHP_5_2 and PHP_5_3.
It's just a constant. Would even consider a bug since this should have been added with the other MSG_* constants. :)


--Jani


Arnaud Le Blanc kirjoitti:
lbarnaud                Tue May 19 11:57:52 2009 UTC

Modified files: /php-src/ext/sockets sockets.c Log:
  Fixed bug #48326 (constant MSG_DONTWAIT not defined)
http://cvs.php.net/viewvc.cgi/php-src/ext/sockets/sockets.c?r1=1.213&r2=1.214&diff_format=u
Index: php-src/ext/sockets/sockets.c
diff -u php-src/ext/sockets/sockets.c:1.213 php-src/ext/sockets/sockets.c:1.214
--- php-src/ext/sockets/sockets.c:1.213 Sun May 10 01:00:15 2009
+++ php-src/ext/sockets/sockets.c       Tue May 19 11:57:52 2009
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
-/* $Id: sockets.c,v 1.213 2009/05/10 01:00:15 felipe Exp $ */
+/* $Id: sockets.c,v 1.214 2009/05/19 11:57:52 lbarnaud Exp $ */
#ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -620,6 +620,9 @@
        REGISTER_LONG_CONSTANT("SOCK_RDM",            SOCK_RDM,               
CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("MSG_OOB",             MSG_OOB,                
CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("MSG_WAITALL", MSG_WAITALL,    CONST_CS | 
CONST_PERSISTENT);
+#ifdef MSG_DONTWAIT
+       REGISTER_LONG_CONSTANT("MSG_DONTWAIT",        MSG_DONTWAIT,   CONST_CS 
| CONST_PERSISTENT);
+#endif
        REGISTER_LONG_CONSTANT("MSG_PEEK",            MSG_PEEK,               
CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("MSG_DONTROUTE", MSG_DONTROUTE,        CONST_CS 
| CONST_PERSISTENT);
 #ifdef MSG_EOR





--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to