summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 07:59:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 07:59:35 +0000
commitaac16ed13ebdf9c9e4bd75c58e7779b4475e6dd8 (patch)
tree3cad67b3e8c0382279ec5a25a9a98ad77bff6bd4 /file.c
parent043f665274006e4f040e681e0a1aee4975cf30b5 (diff)
* 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
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 3 insertions, 0 deletions
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) {