Subject: Re: mkdir with trailing / (patch proposed)
To: None <tech-userlevel@netbsd.org, tech-kern@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 04/29/2002 05:02:32
In article <20020428194117.GA19591@night-porter.duskware.de>
martin@duskware.de wrote:

> > I've heard that POSIX does not require to accept trailing slash
> > for directory pathname. It's optional, so I think it is not a bug,
> > and userland applications should not assume it is always acceptable.
> 
> This is wrong, according to Klaus Klein (our standards guru).
> There even is a regression test in src/regress that checks for this (and
> currently fails).

I've heard POSIX say pathname _may_ have trailing slash,
and application which is strictly complient with POSIX
should not use features mentioned "may" in standard.
But I don't know whether kernel should support it for compliancy.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp