diff options
author | Marcus Boerger <helly@php.net> | 2005-08-10 08:36:46 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-08-10 08:36:46 +0000 |
commit | 3bc9bc5de87c6bbafe3df2a24384221cacf35f21 (patch) | |
tree | 0577d0a6e1f88129a573b6e6e1ec6bee559a1d66 | |
parent | 54931f525908c3f56ec7a08b6f6cc5ad2fd62518 (diff) | |
download | php-git-3bc9bc5de87c6bbafe3df2a24384221cacf35f21.tar.gz |
- MFH estrdup/strndup change (as hinted by Andi)
-rwxr-xr-x | ext/spl/php_spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index aa8b9e0a38..d0eda76689 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -596,7 +596,7 @@ PHP_MINIT_FUNCTION(spl) PHP_RINIT_FUNCTION(spl) /* {{{ */ { - SPL_G(autoload_extensions) = estrdup(".inc,.php"); + SPL_G(autoload_extensions) = estrndup(".inc,.php", sizeof(".inc,.php")-1); return SUCCESS; } /* }}} */ |