summaryrefslogtreecommitdiffstats
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
commitae1dc9c2d6b4cbe4d8b43b9ac205f5884249975d (patch)
tree56702976702a7d851573e91247c02267a4c4bb78 /dln.c
parent3fbdb55f1114ff47c3d41aa41c8e8fa18ee27605 (diff)
downloadruby-ae1dc9c2d6b4cbe4d8b43b9ac205f5884249975d.tar.gz
ruby-ae1dc9c2d6b4cbe4d8b43b9ac205f5884249975d.tar.xz
ruby-ae1dc9c2d6b4cbe4d8b43b9ac205f5884249975d.zip
* dln.c (conv_to_posix_path): should initialize posix.
git-svn-id: http://svn.ruby-lang.org/repos/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 0993a8416..65ed4507a 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;