[pg-cvs] osicat dotted-namestrings and absolute-pathname interaction around directory iterators

Stelian Ionescu sionescu at cddr.org
Wed Aug 17 19:04:29 UTC 2011


On Wed, 2011-08-17 at 14:39 -0400, MON KEY wrote:
> On Sat, Aug 13, 2011 at 12:38 PM, Stelian Ionescu <sionescu at cddr.org> wrote:
> >
> > The README will probably need to be corrected, then
> >
> 
> So, are you suggestiong that osicat is intended as POSIX-style API?

That's how I see it


> >
> > POSIX file-systems have no notion of name and type, and syntax-wise a
> > file and a directory are the same, so ".." is the same thing as "../"
> 
> Permit me to disagree.
> 
> By all means feel free to ignore my objections to Osicat's behaviour
> around a corner case in differences between CL pathnames and POSIX.
> However, please have the courtesy to at least consider that my
> citation of section 4.12 IEEE Std 1003.1-2008 was not without reason
> and was in fact an attempt to illustrate reasonably that POSIX 2008
> _does_ have some fairly clear stipulations about the syntax for
> pathnames around a file and a directory not always being the same.
> 
> POSIX prescribes certain syntax as denoting a "special filename":
> 
>  "."    (dot)
>  ".."   (dot-dot)
>  "/"    (<slash>)
>  "//"   (<slash> <slash>)
>  "///*" (<slash> <slash> <slash>*)

POSIX says that 3 or more "/" are to be normalized to a single one


> FFR following are what i believe to be relevant sections of POSIX-2008:

[...]

I read all that but I still don't understand your point

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/osicat-devel/attachments/20110817/c41e47e4/attachment.sig>


More information about the osicat-devel mailing list