johannes Wed Sep 19 01:08:39 2007 UTC
Modified files:
/php-src/ext/standard dl.c
Log:
- Fix build (filename is a zval * here, not a zval** like in 5_2)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.118&r2=1.119&diff_format=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.118 php-src/ext/standard/dl.c:1.119
--- php-src/ext/standard/dl.c:1.118 Wed Sep 19 00:06:05 2007
+++ php-src/ext/standard/dl.c Wed Sep 19 01:08:38 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dl.c,v 1.118 2007/09/19 00:06:05 stas Exp $ */
+/* $Id: dl.c,v 1.119 2007/09/19 01:08:38 johannes Exp $ */
#include "php.h"
#include "dl.h"
@@ -63,7 +63,7 @@
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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php