Subject: Re: Little prob with rm
To: Chris G. Demetriou <cgd@alpha.bostic.com>
From: Greg A. Woods <woods@kuma.web.net>
List: current-users
Date: 10/31/1994 16:16:18
[ On Mon, October 31, 1994 at 16:04:33 (-0500), Chris G. Demetriou wrote: ]
> Subject: Re: Little prob with rm 
>
> > IMHO, rmdir(2) should strip trailing slashes, as per almost any other
> > system call (eg. open(2)) which collapses multiple slashes to one, and
> > also permits trailing slashes.
> 
> the collapsing of multiple slashes is done by namei().

Of course!  ;-)

But does namei() also strip/ignore the trailing slash accepted by open(2)?


-- 
						Greg A. Woods

+1 416 443-1734			VE3TCP		robohack!woods
Planix, Inc. <woods@planix.com>; UniForum Canada <woods@uniforum.ca>