summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--dln.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d5186f9565..bf83e6bef4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 26 19:57:45 2005 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * dln.c (conv_to_posix_path): should initialize posix.
+
Thu Nov 24 21:05:58 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* configure.in (AC_CHECK_FUNCS): need to check link().
diff --git a/dln.c b/dln.c
index 0993a84161..65ed4507aa 100644
--- a/dln.c
+++ b/dln.c
@@ -1693,6 +1693,7 @@ conv_to_posix_path(win32, posix, len)
char *p = win32;
char *dst = posix;
+ posix[0] = '\0';
for (p = win32; *p; p++)
if (*p == ';') {
*p = 0;