[ruby-cvs:58992] nobu:r51841 (trunk): win32.c: fix dup2 return value

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Sep 12 19:09:05 JST 2015


nobu	2015-09-12 19:09:03 +0900 (Sat, 12 Sep 2015)

  New Revision: 51841

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

  Log:
    win32.c: fix dup2 return value
    
    * win32/win32.c (rb_w32_dup2): should return the new fd on
      success, while msvcrt returns 0 wrongly.

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


More information about the ruby-cvs mailing list