Subject: Re: Linux emulation and mkdir with trailing /
To: None <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 09/24/2000 13:18:23
[ On Saturday, September 23, 2000 at 19:06:53 (-0400), Bill Sommerfeld wrote: ]
> Subject: Re: Linux emulation and mkdir with trailing / 
>
> which is because of the following code in mkdir.c:
> 
> 		/* Remove trailing slashes, per POSIX. */
> 		slash = strrchr(*argv, '\0');
> 		while (--slash > *argv && *slash == '/')
> 			*slash = '\0';

If I'm not mistaken that code should be in the kernel for fully
compliant behaviour....

-- 
							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>