]> granicus.if.org Git - php/commitdiff
Fixed bug #37705 (Semaphore constants not available).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 5 Jun 2006 22:52:11 +0000 (22:52 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 5 Jun 2006 22:52:11 +0000 (22:52 +0000)
NEWS
ext/sysvmsg/sysvmsg.c

diff --git a/NEWS b/NEWS
index c14354af07e9a51603a14a299f92754fb6612964..cc94298ffd68949e1977b26fcbadaa7c4e6ae57a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -49,6 +49,7 @@ PHP                                                                        NEWS
 - Added RFC2397 (data: stream) support. (Marcus)
 - Fixed memory leaks in openssl streams context options (Pierre)
 - Fixed handling of extremely long paths inside tempnam() function. (Ilia)
+- Fixed bug #37705 (Semaphore constants not available). (Ilia)
 - Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia)
 - Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike)
 - Fixed bug #37632 (Protected method access problem). (Marcus)
index 05d47db3a96c7ecd9e8cc409b8e9864aecdbff68..f4882f3a83511a1a3faad23ec9a3b933ead9747e 100644 (file)
@@ -122,6 +122,8 @@ PHP_MINIT_FUNCTION(sysvmsg)
 {
        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;