Skip to content

Commit

Permalink
Update to 1.8.7_370 stdlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Aug 28, 2012
1 parent d2c55d2 commit 4e471f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion default.build.properties
Expand Up @@ -73,7 +73,7 @@ install4j.executable=/Applications/install4j 4/bin/install4jc
version.ruby=1.8.7 version.ruby=1.8.7
version.ruby.major=1.8 version.ruby.major=1.8
version.ruby.minor=7 version.ruby.minor=7
version.ruby.patchlevel=357 version.ruby.patchlevel=370


version.ruby1_9.major=1.9 version.ruby1_9.major=1.9
version.ruby1_9=1.9.3 version.ruby1_9=1.9.3
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby/1.8/drb/unix.rb
Expand Up @@ -100,7 +100,7 @@ def accept
end end


def set_sockopt(soc) 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
end end


Expand Down
2 changes: 1 addition & 1 deletion lib/ruby/1.8/webrick/utils.rb
Expand Up @@ -29,7 +29,7 @@ def set_non_blocking(io)


def set_close_on_exec(io) def set_close_on_exec(io)
if defined?(Fcntl::FD_CLOEXEC) if defined?(Fcntl::FD_CLOEXEC)
io.fcntl(Fcntl::FD_CLOEXEC, 1) io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
end end
end end
module_function :set_close_on_exec module_function :set_close_on_exec
Expand Down

0 comments on commit 4e471f4

Please sign in to comment.