From: matz@... (Yukihiro Matsumoto) Date: 2004-01-31T19:01:58+09:00 Subject: Re: [BUG] Find.find("xyz") will yield "xyz" even if no such file exists , In message "[BUG] Find.find("xyz") will yield "xyz" even if no such file exists" on 04/01/31, Gavin Sinclair writes: |The subject says it all, really. I presume this is a bug, not a |feature. Ruby version is "ruby 1.8.1 (2004-01-08) [i386-cygwin]". Thank you for reporting it. matz. --- lib/find.rb 21 Jan 2004 16:47:18 -0000 1.12 +++ lib/find.rb 31 Jan 2004 10:01:16 -0000 @@ -38,2 +38,3 @@ module Find catch(:prune) do + next unless File.exist? file yield file.dup