Issue #2324 has been updated by nahi.

Description updated
Assignee set to nobu


----------------------------------------
Feature #2324: Dir instance methods for relative path
https://bugs.ruby-lang.org/issues/2324#change-24697

Author: nobu
Status: Open
Priority: Normal
Assignee: nobu
Category: core
Target version: 2.0.0


=begin
 ??????????????
 
 http://www.ipa.go.jp/security/fy20/reports/tech1-tg/2_05.html ???
 ??????????????????????????????対???????使??Dir???????????????
 ??????????????????????????mvm??????????????????????
 
 $ ./ruby -v -e 'p Dir.open("ext"){|d|d.open("extmk.rb"){|f|f.gets}}'
 ruby 1.9.1 (2008-12-25 mvm 20976) [i686-linux]
 "#! /usr/local/bin/ruby\n"
 
 $ mkdir tmp
 $ touch tmp/x tmp/y
 $ ./ruby -e 'p Dir.open("tmp"){|d|d.unlink("x")}'
 0
 $ ls tmp/
 y
 
 -- 
 --- ??????????Bug????????
 --- ?????????????Bug???????????
     中?? 伸??
=end



-- 
http://bugs.ruby-lang.org/