cvs: php-src /ext/standard dl.c

From: Date: Fri, 16 May 2008 03:11:56 +0000
Subject: cvs: php-src /ext/standard dl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-49992@lists.php.net to get a copy of this message
felipe Fri May 16 03:11:56 2008 UTC Modified files: /php-src/ext/standard dl.c Log: - MFB: Added conversion to string. http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.125&r2=1.126&diff_format=u Index: php-src/ext/standard/dl.c diff -u php-src/ext/standard/dl.c:1.125 php-src/ext/standard/dl.c:1.126 --- php-src/ext/standard/dl.c:1.125 Thu Feb 28 16:59:21 2008 +++ php-src/ext/standard/dl.c Fri May 16 03:11:56 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dl.c,v 1.125 2008/02/28 16:59:21 dmitry Exp $ */ +/* $Id: dl.c,v 1.126 2008/05/16 03:11:56 felipe Exp $ */ #include "php.h" #include "dl.h" @@ -56,9 +56,11 @@ { zval *filename; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &filename) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &filename) == FAILURE) { return; } + + convert_to_string(filename); if (Z_STRLEN_P(filename) >= MAXPATHLEN) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "File name exceeds the maximum allowed length of %d characters", MAXPATHLEN);

« previous php.cvs (#49992) next »