Re: error in "cygpath" behavior
- Date: Fri, 31 Aug 2018 15:34:17 -0700 (PDT)
- From: Steven Penny <svnpenn@xxxxxxxxx>
- Subject: Re: error in "cygpath" behavior
On Fri, 31 Aug 2018 10:57:34, Corinna Vinschen wrote:
Long-standing behaviour. ".." in Cygwin and ".." in Windows can totally
disagree. The path is always convert to absolute at this point in favor
of correct output. There's also the additional restriction (though
not in this case) that relative Windows paths must not be longer than
MAX_PATH (260) chars.
I'm certainly open to patches to the underlying cygwin_conv_path
function to change the Windows path to relative if possible.
I am not understanding - it appears that "dot-dot" (..) is well defined by
The special filename dot-dot shall refer to the parent directory of its
predecessor directory. As a special case, in the root directory, dot-dot may
refer to the root directory itself.
so it would appears that ".." would be an acceptable return value in any case.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple