Re: SHMOP Module Patch
| From: | Yasuo Ohgaki | Date: | Mon, 07 Jan 2002 12:18:50 +0000 |
| Subject: | Re: SHMOP Module Patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76165@lists.php.net to get a copy of this message | ||
Ilia A. wrote:
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.diffHi Ilia, I've tried to apply patch to current 4.2.0-dev, but many hunks are rejected. (It work well for PHP_4_0_7(4.1.x) branch, though) Could you send me a patch for current 4.2.0-dev? I cannot apply it to 4.1.x branch unless there is a patch for 4.2.0-dev. Thank you. -- Yasuo Ohgaki