summaryrefslogtreecommitdiff
path: root/ext/objspace/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-14 16:06:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-14 16:06:09 +0000
commit91aa8da578e64a1f2b4bd3ea75d9c3c48d113e3c (patch)
tree949fa6145024335a235a1d3f70568ac77d1586fb /ext/objspace/extconf.rb
parent6cbe261626f91e8dd9a4c046df69b66884aebeeb (diff)
objspace_dump.c: refine output
* ext/objspace/objspace_dump.c (dump_output): allow IO object as output, and use Tempfile.create and return open file instead of mkstemp() and path name for :file output. [ruby-core:58266] [Bug #9102] * test/objspace/test_objspace.rb (TestObjSpace#dump_my_heap_please): remove temporary output file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace/extconf.rb')
-rw-r--r--ext/objspace/extconf.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/objspace/extconf.rb b/ext/objspace/extconf.rb
index e48fa8c8bcd..23a42c4c20f 100644
--- a/ext/objspace/extconf.rb
+++ b/ext/objspace/extconf.rb
@@ -1,3 +1,2 @@
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
-have_func("mkstemp")
create_makefile('objspace')