SHMOP Module Patch
| From: | Ilia A. | Date: | Wed, 02 Jan 2002 19:15:57 +0000 |
| Subject: | SHMOP Module Patch | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75661@lists.php.net to get a copy of this message | ||
Attached to this message is a patch to php's shmop extension, it fixes the
following:
- shmop_open has a new flag for read/write access, 'w' (bug #10530, 10656)
- shmop_open has a new flag for create only 'n' (bug #10530, 10656)
- eliminated a segfault when trying to write to a SHM_RDONLY segment (bug
#14784)
- eliminated a segfault when an invalid flag which starts with 'a' or 'c' is
passed (bug #14784)
- updated creators' email addresses
- changed error messages to say shmop_* instead of shm* to correspond with
new shmop_* function names
Could someone with a CVS access please implement the diff and close the 3 bug
reports I've outlined. I will submit a patch to the shmop's php documentation
shortly.
I've tested this diff on PHP 4.0.6,4.1.0 & 4.1.1 it seems to work fine on all
of them. On 4.0.6 patch complains a little but it works fine non the less.
cd php4;
patch -p0 < shmop.diff
Attachment: [text/x-diff] Shmop Diff shmop.diff
Attachment: [text/x-diff] Shmop Diff shmop.diff