Proposal for std.path replacement
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Thu Apr 7 04:38:10 PDT 2011
On Thu, 07 Apr 2011 03:57:18 -0700, Jonathan M Davis wrote:
>
> And on some file systems, even / is valid! Though it's not worth it to
> try and get std.path to work with files with / in the name. It's
> generally a very bad idea to create a file with a / in the name - too
> many programs would choke on it or just plain have the wrong behavior.
> However, there _are_ *nix file systems which allow for / in file names.
Which filesystems are those? The POSIX:2008 specification specifically
states that
"The characters composing the name may be selected from
the set of all character values excluding the <slash>
character and the null byte."
where <slash> is defined as '/'.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html
-Lars
More information about the Digitalmars-d
mailing list