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
commitc213ea3a765c0851e22cc0094dd0acd7fae66434 (patch)
tree56702976702a7d851573e91247c02267a4c4bb78 /dln.c
parente40a5e82ec41a2967300c9030c0442adcf90f574 (diff)
* dln.c (conv_to_posix_path): should initialize posix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 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;