diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 08:46:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 08:46:29 +0000 |
commit | 17eb86eb12ae6bdb299af12bee59502929dfa891 (patch) | |
tree | b7323b3fb11f5190bbebf2295710f23fc81d94f5 /ruby.c | |
parent | 9f4f9048a0b095c340e7640a999f209ca02723ca (diff) |
util.c: let getcwd allocate buffer
* util.c (ruby_getcwd): POSIX.1-2001 extends getcwd(3) as it
allocates the buffer if the argument is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions