Bug in FileUtils - apathy or bad email

From: Jim Freeze <jim@...>
Date: 2004-04-29 17:00:49 UTC
List: ruby-core #2830
I've posted on this three times and have yet to see a response.
Are my emails getting through or is this of no interest to anyone?

I have confirmed the bug on 1.8.0 and 1.8.1, but I don't have 1.9.x
to test it.

Jim

> > cat test.rb
> 
> require 'fileutils'
> 
> Dir.mkdir("fred")
> Dir.mkdir("neighbor")
> 
> FileUtils.ln_s("../neighbor","fred/upandover")
> 
> FileUtils.rm_rf("fred")
> 
> > ruby -v test.rb 
> ruby 1.8.0 (2003-08-04) [sparc-solaris2.8]
> /usr/local/lib/ruby/1.8/fileutils.rb:583:in `rmdir': Not a directory -
> fred/upandover (Errno::ENOTDIR)
>         from /usr/local/lib/ruby/1.8/fileutils.rb:583:in `remove_dir'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:577:in `remove_dir'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:573:in `foreach'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:573:in `remove_dir'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:534:in `rm_r'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:526:in `each'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:526:in `rm_r'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:550:in `rm_rf'
>         from test.rb:9
> 
> 
> 
-- 
Jim Freeze
You can create your own opportunities this week.  Blackmail a senior
executive.

In This Thread

Prev Next