UNC and POSIX paths
Mon Jun 17 15:16:00 GMT 2013
On Jun 17 17:36, Fedin Pavel wrote:
> I decided to pay attention to one more problem. Lots of not very well
> written configure scripts and makefiles like to access things like
> '//usr/bin'. Under Cygwin this causes problem because Cygwin treats '//' in
> Windows-style as access to network shares.
> What if we change this ? We could have a mount entry, something like '/unc'
> (or /smb, /net, whatever) and access it like '/smb/computername/sharename'.
> I think this would improve POSIX compatibility a lot.
Maybe there has been said enough in this thread already, but I have
to add this: Cygwin's behaviour *is* POSIX compatible. Consider
this excerpt from SUSv4 Base specifications, section 4.12 "Pathname
A pathname consisting of a single <slash> shall resolve to the root
directory of the process. [...] If a pathname begins with two
successive <slash> characters, the first component following the
leading <slash> characters may be interpreted in an
implementation-defined manner, although more than two leading <slash>
characters shall be treated as a single <slash> character.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin