1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use capture_subprocess_io instead of capture_io. fix r38002

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-11-30 00:54:04 +00:00
parent 4f451dddeb
commit b479ca0c98

View file

@ -159,7 +159,7 @@ module DL
# interface, below, should be used, since getpid() is a function and not a
# data object.)
# --- FreeBSD 8.0 dlsym(3)
out, err = capture_io do
out, err = capture_subprocess_io do
require 'objspace'
print DL::Handle::NEXT.inspect
end