moriyoshi Mon Nov 4 07:53:24 2002 EDT
Modified files:
/php4/ext/standard dl.c
Log:
Fixed bug #20243
Index: php4/ext/standard/dl.c
diff -u php4/ext/standard/dl.c:1.78 php4/ext/standard/dl.c:1.79
--- php4/ext/standard/dl.c:1.78 Thu Oct 24 10:12:06 2002
+++ php4/ext/standard/dl.c Mon Nov 4 07:53:24 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dl.c,v 1.78 2002/10/24 14:12:06 moriyoshi Exp $ */
+/* $Id: dl.c,v 1.79 2002/11/04 12:53:24 moriyoshi Exp $ */
#include "php.h"
#include "dl.h"
@@ -129,7 +129,7 @@
if (IS_SLASH(extension_dir[extension_dir_len-1])) {
sprintf(libpath, "%s%s", extension_dir, Z_STRVAL_P(file)); /*
SAFE */
} else {
- sprintf(libpath, "%s/%s", extension_dir, Z_STRVAL_P(file)); /*
SAFE */
+ sprintf(libpath, "%s%c%s", extension_dir, DEFAULT_SLASH,
+Z_STRVAL_P(file)); /* SAFE */
}
} else {
libpath = estrndup(Z_STRVAL_P(file), Z_STRLEN_P(file));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php