aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-26 11:01:01 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-26 11:01:01 +0000
commitceefeadd4f969700c9925b7188b425fd34f59839 (patch)
treeacaf34d3df715493b19faae3fd7e879634ea3dc5
parent8245833fb4f48fc541491498e5013f9b5d17d8bc (diff)
downloadruby-ceefeadd4f969700c9925b7188b425fd34f59839.tar.gz
* dln.c (conv_to_posix_path): should initialize posix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--dln.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e7186b1958..3c2d7e132b 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.
+
Fri Nov 25 14:34:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_max): treat end exclusion without iteration if
diff --git a/dln.c b/dln.c
index 33b1f6bd41..8846860134 100644
--- a/dln.c
+++ b/dln.c
@@ -1645,6 +1645,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;