Project

General

Profile

Actions

Backport #9621

closed

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

Added by nagachika (Tomoyuki Chikanaga) about 10 years ago. Updated almost 10 years ago.

Status:
Closed
[ruby-dev:48033]

Description

Updated by nagachika (Tomoyuki Chikanaga) almost 10 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.
Actions

Also available in: Atom PDF

Like0
Like0