From 5847c08ec1297731fca37592ef01b6f1c2b478e1 Mon Sep 17 00:00:00 2001 From: eban Date: Sat, 26 Nov 2005 11:01:01 +0000 Subject: * 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 --- ChangeLog | 4 ++++ dln.c | 1 + 2 files changed, 5 insertions(+) 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 + + * dln.c (conv_to_posix_path): should initialize posix. + Fri Nov 25 14:34:09 2005 Yukihiro Matsumoto * 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; -- cgit