[ruby-cvs:51895] nobu:r44750 (trunk): io.c: check socket on other than linux

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 29 20:08:17 JST 2014


nobu	2014-01-29 20:08:16 +0900 (Wed, 29 Jan 2014)

  New Revision: 44750

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

  Log:
    io.c: check socket on other than linux
    
    * io.c (nogvl_copy_stream_sendfile): check socket on other than
      linux, as sendfile(2) on non-socket fd works only on linux.
      [Feature #9427]

  Modified files:
    trunk/ChangeLog
    trunk/io.c


More information about the ruby-cvs mailing list