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
commit5847c08ec1297731fca37592ef01b6f1c2b478e1 (patch)
treeacaf34d3df715493b19faae3fd7e879634ea3dc5 /dln.c
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
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 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;