From: Nobuyoshi Nakada Date: 2007-05-24T10:40:56+09:00 Subject: [ruby-dev:30810] Re: FileUtils.rm_rf misfeature? なかだです。 At Fri, 18 May 2007 07:58:10 +0900, johan556@gmail.com wrote in [ruby-core:11200]: > > On 5/16/07, Nobuyoshi Nakada wrote: > > Hi, > > > > At Wed, 16 May 2007 10:03:42 +0900, > > johan556@gmail.com wrote in [ruby-core:11176]: > > > Should this be considered a bug in FileUtils, or is there some reason > > > why FileUtils differ in behavior? > > > > I don't think there is such reason. > > > > Thanks for the reply (and patch). > > Will your patch be applied to the archives? It seems to work as I > would have expected for "rm_rf". And for "rm_f" too, that had the same > problem. ENOENTだけを無視するrm -fと違って、FileUtils.rm_rfやrm_fがすべ てのエラーを無視している、という件ですが、これは意図的な違いで しょうか。とくに理由があるのでなければ、合わせたほうが望ましい のではないかと思うのですが。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦