Browse files

Update to 1.8.7_370 stdlib.

  • Loading branch information...
1 parent d2c55d2 commit 4e471f489ee6e6aa5d74d64893d709c85a312ee1 @headius headius committed Aug 28, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 default.build.properties
  2. +1 −1 lib/ruby/1.8/drb/unix.rb
  3. +1 −1 lib/ruby/1.8/webrick/utils.rb
View
2 default.build.properties
@@ -73,7 +73,7 @@ install4j.executable=/Applications/install4j 4/bin/install4jc
version.ruby=1.8.7
version.ruby.major=1.8
version.ruby.minor=7
-version.ruby.patchlevel=357
+version.ruby.patchlevel=370
version.ruby1_9.major=1.9
version.ruby1_9=1.9.3
View
2 lib/ruby/1.8/drb/unix.rb
@@ -100,7 +100,7 @@ def accept
end
def set_sockopt(soc)
- soc.fcntl(Fcntl::F_SETFL, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
+ soc.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
end
end
View
2 lib/ruby/1.8/webrick/utils.rb
@@ -29,7 +29,7 @@ def set_non_blocking(io)
def set_close_on_exec(io)
if defined?(Fcntl::FD_CLOEXEC)
- io.fcntl(Fcntl::FD_CLOEXEC, 1)
+ io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
end
end
module_function :set_close_on_exec

0 comments on commit 4e471f4

Please sign in to comment.