Project

General

Profile

« Previous | Next » 

Revision 6c024efb

Added by Akinori MUSHA over 16 years ago

  • io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.
    This fixes a coredump caused by: ruby -e "class X < IO; def
    initialize; end; end; p X.new.inspect"

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e