| delorie.com/archives/browse.cgi | search |
On 09 January 2008 14:00, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to kou yu on 12/26/2007 10:07 AM:
>>> POSIX *allows* '//something' to have a special meaning. It doesn't
>>> state that it is necessarily the syntax for SMB share paths.
>>>
>> In fact, if you simply say that this is not a bug of cygwin, but a
>> feature, then I would believe you.
>
> It is a feature of cygwin that // is used, in accordance with SUSv3 and
> POSIX, as the implementation-defined start for remote paths. It is a
> feature of Linux that // is treated as an implementation-defined synonym
> of /.
It's not just that: it's definitely a bug in applications when they blindly append paths without caring if they double up slashes or not, just because it /usually/ works.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |