On Jan 10, 2017, at 3:17 PM, Richard Hipp wrote:
>
> On 1/10/17, skywind mailing lists wrote:
>> zout will contain finally "//abc.def". This is an invalid
>> pathname, I believe.
>
> Actually, //abc.def and /abcdef are equivalent, on every unix system
On 1/10/17, skywind mailing lists wrote:
> zout will contain finally "//abc.def". This is an invalid
> pathname, I believe.
Actually, //abc.def and /abcdef are equivalent, on every unix system I
have ever used. Try it!
ls /bin
ls //bin
ls //bin
--
D.
Assume I have got a zPath like abc.def passed to mkFullPathname. Inside
mkFullPathname zPath[0] != '/' will evaluate to true. Assume further that
osGetcwd(..) will return '/' (which can actually be the case under Android and
theoretically under other systems as well but probably less likely).
3 matches
Mail list logo