felipe          Fri May 16 03:01:20 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard       dl.c 
  Log:
  - Added conversion to string.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.106.2.1.2.5.2.6&r2=1.106.2.1.2.5.2.7&diff_format=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.106.2.1.2.5.2.6 
php-src/ext/standard/dl.c:1.106.2.1.2.5.2.7
--- php-src/ext/standard/dl.c:1.106.2.1.2.5.2.6 Thu Feb 28 16:59:10 2008
+++ php-src/ext/standard/dl.c   Fri May 16 03:01:20 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: dl.c,v 1.106.2.1.2.5.2.6 2008/02/28 16:59:10 dmitry Exp $ */
+/* $Id: dl.c,v 1.106.2.1.2.5.2.7 2008/05/16 03:01:20 felipe Exp $ */
 
 #include "php.h"
 #include "dl.h"
@@ -55,9 +55,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 (!PG(enable_dl)) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Dynamically loaded 
extensions aren't enabled");



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

Reply via email to