Re: Bug in FileUtils - apathy or bad email

From: Minero Aoki <aamine@...>
Date: 2004-04-30 11:05:33 UTC
List: ruby-core #2838
Hi Jim,

  In mail "Bug in FileUtils - apathy or bad email"
    Jim Freeze <jim@freeze.org> wrote:

> 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?

> > /usr/local/lib/ruby/1.8/fileutils.rb:583:in `rmdir': Not a directory -
> > fred/upandover (Errno::ENOTDIR)

I'm sorry, I was missed your mails...
This bug was fixed in 1.8/1.9 CVS HEAD:

~/tmp % ls -l
drwxr-xr-x    2 aamine   users        4096 Apr 30 20:00 a
drwxr-xr-x    2 aamine   users        4096 Apr 30 20:00 b
~/tmp % ls -l a
total 0
lrwxrwxrwx    1 aamine   users           4 Apr 30 20:00 linktodir -> ../b
~/tmp % ruby -rfileutils -e 'FileUtils.rm_rf "a"'
~/tmp % echo $?
0


Best Regards,
Minero Aoki

In This Thread

Prev Next