Re: `rmdir .` doesn't work in 2.4

Stephen C. Tweedie (sct@redhat.com)
Tue, 9 Jan 2001 13:50:31 +0000


Hi,

On Tue, Jan 09, 2001 at 01:01:25AM +0100, Andrea Arcangeli wrote:
> On Mon, Jan 08, 2001 at 03:27:21PM -0800, Linus Torvalds wrote:
> > However, it is against all UNIX standards, and Linux-2.4 will explicitly
>
> I may be missing something but apparently SuSv2 allows it, you can check here:
>
> http://www.opengroup.org/onlinepubs/007908799/xsh/rmdir.html
>
> Infact SuSv2 doesn't even allow rmdir to return -EINVAL.

SuS always allows implementations to return other errors than the ones
listed:

Implementations will not generate a different error number from the
ones described here for error conditions described in this
specification, but may generate additional errors unless explicitly
disallowed for a particular function.

See http://www.opengroup.org/onlinepubs/007908799/xsh/errors.html

--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/