On Sun, Jul 23, 2006 at 08:20:43PM +0200, Lars Gullik Bjønnes wrote:

> Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> | On Sun, Jul 23, 2006 at 07:58:50PM +0200, Lars Gullik Bjønnes wrote:
> | 
> | > Enrico Forestieri <[EMAIL PROTECTED]> writes:
> | > 
> | > | > Is '/foo/bar' an absolute path? On posix the answer is 'Yes!', on
> | > | > windows it is 'No!Ã', on cygwin it is 'Depends!'
> | > | 
> | > | On cygwin it is 'Yes!', too.
> | > 
> | > Is it? Only if you are conscious about staying withing the cygwin
> | > framework I guess. (ad. root of filesystem goes).
> | > 
> | > I guess you are right if you thing of cygwin as a separate platform
> | > and not a variant of windows.
> | 
> | Exactly. On windows, c:/xxx and d:/xxx are both absolute paths.
> | On cygwin, /xxx is also an absolute path.
> 
> Yes, but is not "consistent" with the windows environment:
> 
> cd c:/foo/bar
> win app -> /foo/bar is c:/foo/bar
> cygwin app -> /foo/bar is ???

It is an entirely different thing.

c:/foo/bar => /cygdrive/c/foo/bar
/foo/bar   => /foo/bar

              (root)
               /  \
          cygdrive \
             /     foo
            c        \
           /         bar
         foo
         /
       bar

-- 
Enrico

Reply via email to