From aac16ed13ebdf9c9e4bd75c58e7779b4475e6dd8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Feb 2009 07:59:35 +0000 Subject: [PATCH] * file.c (rb_home_dir): needs p on DOSISH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/file.c b/file.c index b035a0b064..15979c4f55 100644 --- a/file.c +++ b/file.c @@ -2605,6 +2605,9 @@ rb_home_dir(const char *user, VALUE result) { const char *dir; char *buf; +#if defined DOSISH || defined __CYGWIN__ + char *p; +#endif long dirlen; if (!user || !*user) {