Re: [PHP4BETA] cvs: php4 /ext/standard/
| From: | thies at digicol dot de | Date: | Mon, 08 May 2000 13:00:00 +0000 |
| Subject: | Re: [PHP4BETA] cvs: php4 /ext/standard/ | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14671@lists.php.net to get a copy of this message | ||
On Mon, May 08, 2000 at 08:12:28AM -0000, Thies C. Arntzen wrote:
> thies Mon May 8 01:12:28 2000 EDT
>
> Modified files:
> /php4/ext/standard dl.c
> Log:
> (php_dl) treat path as absolute if it starts with '/'
do we all agree on this change or was it intended that you
cannot load an extension outside the PG(extension_dir).
>
>
> Index: php4/ext/standard/dl.c
> diff -u php4/ext/standard/dl.c:1.38 php4/ext/standard/dl.c:1.39
> --- php4/ext/standard/dl.c:1.38 Tue May 2 11:46:19 2000
> +++ php4/ext/standard/dl.c Mon May 8 01:12:28 2000
> @@ -84,7 +84,7 @@
> PLS_FETCH();
> ELS_FETCH();
>
> - if (PG(extension_dir) && PG(extension_dir)[0]){
> + if (PG(extension_dir) && PG(extension_dir)[0] && (file->value.str.val[0]
> != '/')){
> int extension_dir_len = strlen(PG(extension_dir));
>
> libpath = emalloc(extension_dir_len+file->value.str.len+2);
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany