Permit consecutive slashes in Unix namestrings.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 9 May 2011 04:05:50 +0000 (04:05 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 9 May 2011 04:05:50 +0000 (04:05 +0000)
commit4abebce5fa79f81cf2636b1c8a4e4290e7120cf0
tree0a682e65b519ab3d5e5fc65f378cd19b13cb9dd1
parent18bbf4ca46d0a5e4df825414293b4279ed8f31cc
Permit consecutive slashes in Unix namestrings.

POSIX sez it's kosher:

<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_266>

I don't know any Unix that treats two leading slashes differently, so
I won't reject that case.  However, maybe the pathname abstraction
needs to handle it differently if there are such Unices.
src/runtime/unxpth.scm