> Let's consider this problem again, but I don't see a quick and easy
> solution.

$ realpath /cygdrive/s/ado/msadox.dll
/cygdrive/s/ado/msadox.dll            <====== IMO the problem is actually here

$ realpath msadox.dll
/cygdrive/c/Program Files/Common Files/System/ado/msadox.dll

Both paths should start with /cygdrive/c, and then those would be identical
(and, hence, I suppose for the purposes of the OP).

A substed drive is nothing BUT a symlink, should be treated no differently than
/cygdrive/s -> /cygdrive/c/Program Files/Common Files/System

Because even Windows shows you the same:
S:\: => C:\Program Files\Common Files\System

Since realpath is supposed to resolve all symlinks, it should never show any
/cygdrive/s in the resultant path.

My $.02,

Anton Lavrentiev
Contractor NIH/NLM/NCBI



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

Reply via email to