summaryrefslogtreecommitdiff
path: root/dln.c
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 /dln.c
parent8245833fb4f48fc541491498e5013f9b5d17d8bc (diff)
* 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
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dln.c b/dln.c
index 33b1f6b..8846860 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;