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:
parent
043f665274
commit
aac16ed13e
1 changed files with 3 additions and 0 deletions
3
file.c
3
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) {
|
||||
|
|
Loading…
Reference in a new issue