From: Johannes Schlüter Date: Wed, 19 Sep 2007 01:08:38 +0000 (+0000) Subject: - Fix build (filename is a zval * here, not a zval** like in 5_2) X-Git-Tag: RELEASE_2_0_0a1~1792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaab9fc9c49dc5e96d7183d6602f112b0cc2a427;p=php - Fix build (filename is a zval * here, not a zval** like in 5_2) --- diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 9df81c1013..6765087c17 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -63,7 +63,7 @@ PHP_FUNCTION(dl) return; } - if (Z_STRLEN_PP(filename) >= MAXPATHLEN) { + 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); RETURN_FALSE; }