From 90792bca2964629c4f14db5910cd38af24e7f38c Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 4 Nov 2002 12:53:24 +0000 Subject: [PATCH] Fixed bug #20243 --- ext/standard/dl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 90ecf3d4cc..3784c9e9b7 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -129,7 +129,7 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC) 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)); -- 2.50.1