Re: cvs: php-src /ext/standard file.c
| From: | Joe Orton | Date: | Mon, 06 Dec 2004 23:52:28 +0000 |
| Subject: | Re: cvs: php-src /ext/standard file.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-29450@lists.php.net to get a copy of this message | ||
On Mon, Dec 06, 2004 at 11:30:38PM -0000, Ilia Alshanetsky wrote:
>
> http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.391&r2=1.392&ty=u
> Index: php-src/ext/standard/file.c
> diff -u php-src/ext/standard/file.c:1.391 php-src/ext/standard/file.c:1.392
> --- php-src/ext/standard/file.c:1.391 Thu Oct 28 20:37:22 2004
> +++ php-src/ext/standard/file.c Mon Dec 6 18:30:37 2004
> +#ifndef PHP_WIN32
> + {
> + char *z = memchr(p, 'b', Z_STRLEN_PP(arg2));
> + if (z) {
> + memmove(p + (z - p), z + 1, Z_STRLEN_PP(arg2) - (z - p));
p + z - p == z?