On Wed, 2011-08-17 at 14:39 -0400, MON KEY wrote:
On Sat, Aug 13, 2011 at 12:38 PM, Stelian Ionescu sionescu@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