diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-20 19:57:56 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-20 19:57:56 +0000 |
commit | 45d03ec20af23e0569c89f34c7f11b3839edc84b (patch) | |
tree | a78ba40835820f65c4a1489fed997f20363fcbd7 /lib/rdoc/parser/ruby.rb | |
parent | 3c77d94be5b24a4d8946b672b838d797ff5fe192 (diff) | |
download | ruby-45d03ec20af23e0569c89f34c7f11b3839edc84b.tar.gz ruby-45d03ec20af23e0569c89f34c7f11b3839edc84b.tar.xz ruby-45d03ec20af23e0569c89f34c7f11b3839edc84b.zip |
* dir.c (dir_initialize): use rb_convert_type instead of
rb_check_convert_type to prevent SEGV by Dir.new(".", true).
(dir_initialize): use FilePathValue before rb_enc_get(dirname) to
prevent SEGV by Dir.new(0).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parser/ruby.rb')
0 files changed, 0 insertions, 0 deletions