[ruby-cvs:52744] nobu:r45598 (trunk): util.c: let getcwd allocate buffer

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Apr 16 17:46:29 JST 2014


nobu	2014-04-16 17:46:29 +0900 (Wed, 16 Apr 2014)

  New Revision: 45598

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45598

  Log:
    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.

  Modified files:
    trunk/util.c


More information about the ruby-cvs mailing list