summaryrefslogtreecommitdiffstats
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
commit5847c08ec1297731fca37592ef01b6f1c2b478e1 (patch)
treeacaf34d3df715493b19faae3fd7e879634ea3dc5
parent6be122323da9a6a31078759ffed50681c34c2a49 (diff)
downloadruby-5847c08ec1297731fca37592ef01b6f1c2b478e1.tar.gz
ruby-5847c08ec1297731fca37592ef01b6f1c2b478e1.tar.xz
ruby-5847c08ec1297731fca37592ef01b6f1c2b478e1.zip
* dln.c (conv_to_posix_path): should initialize posix.
git-svn-id: http://svn.ruby-lang.org/repos/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 e7186b195..3c2d7e132 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 33b1f6bd4..884686013 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;