cvs: php4 /ext/standard/
| From: | Thies C. Arntzen | Date: | Mon, 08 May 2000 08:12:28 +0000 |
| Subject: | cvs: php4 /ext/standard/ | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14646@lists.php.net to get a copy of this message | ||
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 '/'
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);