1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2009-02-02 07:59:35 +00:00
parent 043f665274
commit aac16ed13e

3
file.c
View file

@ -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) {