[Closed] backport r45308 (Check fptr before trying to dump FILE object fd)

Issue #9621 has been updated by Tomoyuki C…

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.


Backport #9621: backport r45308 (Check fptr before trying to dump FILE
object fd)
https://bugs.ruby-lang.org/issues/9621#change-47147

  • Author: Tomoyuki C.
  • Status: Closed
  • Priority: Normal
  • Assignee: Yui NARUSE

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs