Subject: Re: wierd behaviour of mkdir(2)
To: None <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 10/20/2000 02:40:18
[ On Thursday, October 19, 2000 at 21:33:53 (-0700), Greywolf wrote: ]
> Subject: Re: wierd behaviour of mkdir(2)
>
> open("/some/path/", flags, mode) should still fail, though, if flags
> specifies creation and "/some/path" does not exist, or if it does exist
> as a non-directory.

POSIX and BSD say yes (though the trailing slash should be permitted for
mkdir, I think).  Every Research Unix from Bell Labs says no.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>