Robert Millan <[EMAIL PROTECTED]> writes:

> # rm -r foo<tab>
> # rm -r foobar/
> # rm: cannot remove `foobar/': Invalid argument
> 
> in what way is this problem suposed to be fixed? will
> trailing slashes be supported by the Hurd eventualy?

IIRC correctly, POSIX requires that "foobar" and "foobar/" are treated
equivalently here. There have been similar hurd bugs earlier. So it
should be fixed.

It's kind of natural to simply treat "foobar/" as just a different
name for "foobar/.", and that will make the right thing happen in most
cases. But not for rm/unlink. The reason that unlink is special is
that it operates on the name itself, not on the inode that the name
refers to.

/Niels


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to