On Mon, Nov 20, 2000 at 09:32:39AM +0100, Eric Paire wrote:
> >
> > On Fri, 17 Nov 2000, Guest section DW wrote:
> >
> > > I see that an entire discussion has taken place. Let me just remark this,
> > > quoting the Austin draft:
> > >
> > > If the path argument refers to a path whose final component is either
> > > dot or dot-dot, rmdir( ) shall fail.
> > >
> > > EINVAL The path argument contains a last component that is dot.
> > [snip]
> >
> Then, I don't understand why the EINVAL error condition does not also include
> dot-dot as last component.
Answer 1: It is the (draft) standard. No understanding required.
Answer 2: Whenever ENOTEMPTY is available, this much more precise error return
is to be preferred above EINVAL.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/