Re: rmdir(".") works, and causes havoc

linux kernel account (linker@nightshade.ml.org)
Fri, 8 Aug 1997 22:09:52 -0400 (EDT)


On Mon, 4 Aug 1997, Linus Torvalds wrote:

> I'll probably just have to add a test for "." and ".." by hand to rmdir().
> Sad, because it _could_ be potentially useful, it's just not allowed in
> POSIX.
>
> Linus
>

Maby code of this sort should be #ifdefed (posix) or #ifnotdef
(linus_knows_best).. Standards dont slow the rest of the computer world..
Infact, those that break standards are cheered on as standard setters..
Maby there should be some compile options..