4.0.4p1's php_dl() function uses a default extension_dir by default, which
breaks if the filename is absolute.  older versions did not have this
problem (without the default extension_dir).

Index: ext/standard/dl.c
===================================================================
RCS file: /var/covalent/.CVS/covalent/php4/ext/standard/dl.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 dl.c
--- ext/standard/dl.c   2001/01/12 08:07:29     1.1.1.3
+++ ext/standard/dl.c   2001/01/22 18:37:43
@@ -118,7 +118,7 @@
                error_type = E_CORE_WARNING;
        }
 
-       if (extension_dir && extension_dir[0]){
+       if (extension_dir && extension_dir[0] && (*file->value.str.val != '/')){
                int extension_dir_len = strlen(extension_dir);
 
                libpath = emalloc(extension_dir_len+file->value.str.len+2);


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to