[fpc-pascal] DoDirSeparators and special filenames on Windows

Jürgen Hestermann juergen.hestermann at gmx.de
Thu Sep 12 07:10:19 CEST 2013


Am 2013-09-11 19:36, schrieb Reimar Grabowski:
> IEEE Std 1003.1, 2004 Edition (http://pubs.opengroup.org/onlinepubs/009695399/) says: 3.266 Pathname A character string that is used to identify a file. In the context of IEEE Std 1003.1-2001, a pathname consists of, at most, {PATH_MAX} bytes, including the terminating null byte. It has an optional beginning slash, followed by zero or more filenames separated by slashes. A pathname may optionally contain one or more trailing slashes. Multiple successive slashes are considered to be the same as one slash.

Ahh, that's the reason:
It's (another) sloppiness in Unix systems and has creeped into Windows from there.
I have never seen such things on Windows systems.




More information about the fpc-pascal mailing list