Re: `rmdir .` doesn't work in 2.4
Linus Torvalds (torvalds@transmeta.com)
8 Jan 2001 15:28:29 -0800
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
-
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/