Re: cvs: php-src /ext/standard file.c
| From: | Marcus Boerger | Date: | Mon, 07 Mar 2005 18:41:47 +0000 |
| Subject: | Re: cvs: php-src /ext/standard file.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-30762@lists.php.net to get a copy of this message | ||
Hello Markus,
Monday, March 7, 2005, 3:20:57 PM, you wrote:
> Hi,
> Marcus Boerger wrote:
>> Modified files:
>> /php-src/ext/standard file.c
>> Log:
>> - Allow length 0 as default (e.g. skip param)
> [...]
>> if (len < 0) {
>> php_error_docref(NULL TSRMLS_CC,
>> E_WARNING, "Length parameter may not be negative");
>> RETURN_FALSE;
>> + } else if (len == 0) {
>> + len = -1;
>> }
> Does this fix http://bugs.php.net/bug.php?id=31192 ?
More or less. You have to set limit to 0.
--
Best regards,
Marcus mailto:helly@php.net