iliaa           Mon Jun  5 22:52:27 2006 UTC

  Modified files:              
    /php-src/ext/sysvmsg        sysvmsg.c 
  Log:
  MFB: Fixed bug #37705 (Semaphore constants not available).
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/sysvmsg/sysvmsg.c?r1=1.24&r2=1.25&diff_format=u
Index: php-src/ext/sysvmsg/sysvmsg.c
diff -u php-src/ext/sysvmsg/sysvmsg.c:1.24 php-src/ext/sysvmsg/sysvmsg.c:1.25
--- php-src/ext/sysvmsg/sysvmsg.c:1.24  Sun Jan  1 13:09:56 2006
+++ php-src/ext/sysvmsg/sysvmsg.c       Mon Jun  5 22:52:27 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: sysvmsg.c,v 1.24 2006/01/01 13:09:56 sniper Exp $ */
+/* $Id: sysvmsg.c,v 1.25 2006/06/05 22:52:27 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -122,6 +122,8 @@
 {
        le_sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, 
"sysvmsg queue", module_number);
        REGISTER_LONG_CONSTANT("MSG_IPC_NOWAIT", PHP_MSG_IPC_NOWAIT, 
CONST_PERSISTENT|CONST_CS);
+       REGISTER_LONG_CONSTANT("MSG_EAGAIN",     EAGAIN,             
CONST_PERSISTENT|CONST_CS);
+       REGISTER_LONG_CONSTANT("MSG_ENOMSG",     ENOMSG,             
CONST_PERSISTENT|CONST_CS);
        REGISTER_LONG_CONSTANT("MSG_NOERROR",    PHP_MSG_NOERROR,    
CONST_PERSISTENT|CONST_CS);
        REGISTER_LONG_CONSTANT("MSG_EXCEPT",     PHP_MSG_EXCEPT,     
CONST_PERSISTENT|CONST_CS);
        return SUCCESS;
@@ -142,7 +144,7 @@
 {
        php_info_print_table_start();
        php_info_print_table_row(2, "sysvmsg support", "enabled");
-       php_info_print_table_row(2, "Revision", "$Revision: 1.24 $");
+       php_info_print_table_row(2, "Revision", "$Revision: 1.25 $");
        php_info_print_table_end();
 }
 /* }}} */

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

Reply via email to