backport r45308 (Check fptr before trying to dump FILE object fd)
Updated by nagachika (Tomoyuki Chikanaga) about 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset r46403.
merge revision(s) r45308,r45316: [Backport #9621]
* ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE object fd. [GH-562] * test/objspace/test_objspace.rb: add test * test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file): remove dependency on json library.