This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: stat() and tilde prefix (was bad bash tab completion)
Greetings, Thomas Wolff!
>> 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)
Only if it's a Cygwin symlink.
Which I'm avoiding in my daily work, since NTFS now offers the same
functionality.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 15.01.2013, <23:38>
Sorry for my terrible english...
--
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