stat() and tilde prefix (was bad bash tab completion)

Thomas Wolff towo@towo.net
Mon Jan 14 22:15:00 GMT 2013


Am 14.01.2013 11:00, schrieb Corinna Vinschen:
> ...
>
> The first step of converting a POSIX path to a Windows path is to
> normalize the path.  "." and ".." components are simply dropped:
>
>    "a/b/./c"  -> "a\b\c"
>    "a/b/../c" -> "a\c"
which isn't correct already (even if everything exists) because if b is 
a symbolic link, "b/.." is *not* "." -
(I think I came across this bug a few times already without really 
noticing it as a bug, having taken it as some spurious glitch...)
(Not sure whether this case is covered by further arguments in this thread)
------
Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list