[ruby-cvs:60850] nobu:r53689 (trunk): win32/file.c: drop garbage

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jan 29 17:41:11 JST 2016


nobu	2016-01-29 17:41:10 +0900 (Fri, 29 Jan 2016)

  New Revision: 53689

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

  Log:
    win32/file.c: drop garbage
    
    * win32/file.c (rb_readlink): drop garbage after the substitute
      name, as rb_w32_read_reparse_point returns the expected buffer
      size but "\??\" prefix is dropped from the result.
    * win32/win32.c (w32_readlink): ditto, including NUL-terminator.

  Modified files:
    trunk/ChangeLog
    trunk/win32/file.c
    trunk/win32/win32.c


More information about the ruby-cvs mailing list