Subject: Re: Linux emulation and mkdir with trailing /
To: NetBSD Kernel Technical Discussion List <tech-kern@netbsd.org>
From: Dan Riley <dsr@mail.lns.cornell.edu>
List: tech-kern
Date: 09/25/2000 16:21:56
woods@weird.com (Greg A. Woods) writes:
> OK, I'm confused now, could someone with a real copy of POSIX-1003.1
> have a look?

The language appears to be the same in 1003.2-1992 and 1003.1-1996
(ISO/IEC 9945-1:1996)--just the section numbers are different.

>  2.2.2.102  pathname:  A string that is used to identify a file.
>  
>  A pathname consists of, at most, {PATH_MAX} bytes, including the
>  terminating null character.  It has an optional beginning slash, followed
>  by zero or more filenames separated by slashes.  If the pathname refers
>  to a directory, it may also have one or more trailing slashes.

-- 
Dan Riley                                         dsr@mail.lns.cornell.edu
Wilson Lab, Cornell University      <URL:http://www.lns.cornell.edu/~dsr/>
    "History teaches us that days like this are best spent in bed"