lkml.org 
[lkml]   [1997]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: rmdir(".") works, and causes havoc


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..



\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site