[ruby-cvs:63173] nobu:r56008 (trunk): win32/file.c: use ALLOC_N

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 25 11:57:41 JST 2016


nobu	2016-08-25 11:57:41 +0900 (Thu, 25 Aug 2016)

  New Revision: 56008

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56008

  Log:
    win32/file.c: use ALLOC_N
    
    * win32/file.c (home_dir, replace_to_long_name): use ALLOC_N
      instead of casted xmalloc with multiplication.
    
    win32/file.c (rb_file_expand_path_internal): ditto.

  Modified files:
    trunk/win32/file.c


More information about the ruby-cvs mailing list