#46392 [NEW]: msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).

From: Date: Sun, 26 Oct 2008 08:45:19 +0000
Subject: #46392 [NEW]: msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1246@lists.php.net to get a copy of this message
From: larstorben at gmail dot com Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml). Description: ------------ The documentation for the value of msg_qbytes returned in the array from msg_stat_queue() is incorrect: it states that msg_qbytes holds the number of bytes free in the queue, when msg_qbytes really represents the system maximum number of bytes per queue. Here is a correction: cvs diff: Diffing . Index: msg-stat-queue.xml =================================================================== RCS file: /repository/phpdoc/en/reference/sem/functions/msg-stat-queue.xml,v retrieving revision 1.9 diff -u -u -r1.9 msg-stat-queue.xml --- msg-stat-queue.xml 14 Mar 2008 21:42:24 -0000 1.9 +++ msg-stat-queue.xml 26 Oct 2008 08:39:56 -0000 @@ -90,8 +90,9 @@ <row> <entry><literal>msg_qbytes</literal></entry> <entry> - The number of bytes of space currently available in the queue to - hold sent messages until they are received. + The maximum number of bytes allowed in one message queue. On + Linux, this value may be read and modified via + <filename>/proc/sys/kernel/msgmnb</filename>. </entry> </row> <row> -- Edit bug report at http://bugs.php.net/?id=46392&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46392&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46392&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46392&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46392&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46392&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46392&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46392&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46392&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46392&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46392&r=support Expected behavior: http://bugs.php.net/fix.php?id=46392&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46392&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46392&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46392&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46392&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46392&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46392&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46392&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46392&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46392&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46392&r=mysqlcfg

« previous php.doc.bugs (#1246) next »