remove O_NONBLOCK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6010ca65fa
commit
27e4c2fc27
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 21 23:03:45 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay
|
||||||
|
* lib/drb/extserv.rb: typo
|
||||||
|
|
||||||
Wed Jan 21 17:57:56 2004 Shugo Maeda <shugo@ruby-lang.org>
|
Wed Jan 21 17:57:56 2004 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap.rb (envelope): allow NIL.
|
* lib/net/imap.rb (envelope): allow NIL.
|
||||||
|
@ -903,7 +903,6 @@ module DRb
|
|||||||
|
|
||||||
def set_sockopt(soc) # :nodoc:
|
def set_sockopt(soc) # :nodoc:
|
||||||
soc.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
soc.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
||||||
soc.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK) if defined? Fcntl::O_NONBLOCK
|
|
||||||
soc.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
|
soc.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user