Nice catch. :)

--Jani

On Mon, 2007-10-01 at 20:36 +0000, Johannes Schlüter wrote:
> johannes              Mon Oct  1 20:36:01 2007 UTC
> 
>   Modified files:              (Branch: PHP_5_3)
>     /php-src/ext/standard     basic_functions.c 
>   Log:
>   - pass the adress not the value
>   
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.64.2.4&r2=1.725.2.31.2.64.2.5&diff_format=u
> Index: php-src/ext/standard/basic_functions.c
> diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.4 
> php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.5
> --- php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.4        Mon Oct 
>  1 12:40:53 2007
> +++ php-src/ext/standard/basic_functions.c    Mon Oct  1 20:36:01 2007
> @@ -17,7 +17,7 @@
>     +----------------------------------------------------------------------+
>   */
>  
> -/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.4 2007/10/01 12:40:53 jani Exp 
> $ */
> +/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.5 2007/10/01 20:36:01 johannes 
> Exp $ */
>  
>  #include "php.h"
>  #include "php_streams.h"
> @@ -6125,7 +6125,7 @@
>               RETURN_FALSE;
>       }
>  
> -     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, 
> &path_len, &new_path, new_path_len) == FAILURE) {
> +     if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, 
> &path_len, &new_path, &new_path_len) == FAILURE) {
>               return;
>       }
>  
> 
-- 
Patches/Donations: http://pecl.php.net/~jani/

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to