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

Linus Torvalds
2001-01-08T23:29:13Z

In article <20010108225605.Y27646@athlon.random>,
Andrea Arcangeli <andrea@suse.de> wrote:
>On Mon, Jan 08, 2001 at 04:08:58PM -0500, Alexander Viro wrote:
>> Andrea, fix your code. Linux-only stuff is OK when there is no
>
>BTW, "rmdir `pwd`" is not portable either.

Indeed. Avoid it if you can.

But at least "rmdir `pwd`" is not _required_ to fail, like rmdir("."/"..").

Linus