From: Linus Torvalds Date: Mon, 16 Jul 2007 22:03:49 GMT Subject: Re: [PATCH] Do _not_ call unlink on a directory Message-ID: In-Reply-To: <469BEA21.5080308@slamb.org> On Mon, 16 Jul 2007, Scott Lamb wrote: > Linus Torvalds wrote: > > > > In fact, with the Solaris behaviour for unlink(), you *cannot* have a > > non-broken "remove()". > > I'd hoped to see that they made a new syscall to properly implement the > new behavior. Ahh, yes, with a new system call you could do it. > But they didn't. It reminds me of glibc's pselect(). Yeah, that was a bit pointless, although it does make it easier to port binaries and then have them to work in practice most of the time. Linus