Subject: Re: Standards compliance..? (trailing slashes)
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 05/25/2005 16:46:01
[ On Wednesday, May 25, 2005 at 11:07:37 (-0700), Marc Tooley wrote: ]
> Subject: Re: Standards compliance..? (Was Re: non-pkgsrc emacs or clone)
>
> I'm pretty sure there was a NetBSD commit to fix mkdir() (and other 
> calls) so they worked with a trailing slash, in violation of the Single 
> UNIX Standard which states that all trailing slashes must be 
> interpreted as "/." everywhere. Many applications made assumptions 
> about it apparently, because it "just worked" on so many other 
> platforms.

Keep in mind that the claim you make for the SuS is very recent and very
frequently not supported in many existing Unix-like implementations.

After all, _all_ of the traditional implementations of Unix have
_always_ universally treated trailing slashes as NULs (and collapsed
multiple embedded slashes to one slash, of course).

In fact I have a trivial patch to NetBSD's kernel to bring it back into
compliance with traditional implementations too (as I find the old way
much more pleasing and useful).

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>