Subject: Re: kern/15397: regress/sys/fs/mkdir fails
To: Christos Zoulas <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 01/27/2002 15:33:13
On Sun, Jan 27, 2002 at 11:17:08PM +0000, Christos Zoulas wrote:
> > Run test in regress/sys/fs/mkdir.
> So that I understand how far this is going to go...
> will open("foo/", O_CREAT, 0666); create a plain file? Or will
> stat("foo/", &st); work after that?
Read the regression test. In particular:
* IEEE 1003.1 second ed. 184.108.40.206:
* If the pathname refers to a directory, it may also have
* one or more trailing slashes. Multiple successive slashes
* are considered to be the same as one slash.
Since the pathname argument to mkdir(2) and rmdir(2) refer to a directory,
trailing /s must be allowed.
-- Jason R. Thorpe <firstname.lastname@example.org>