Root directory being a junction fools realpath()

David Macek
Thu Feb 18 11:46:06 GMT 2021

Thank you for diagnosing.

> > This isn't realpath's fault.  You're circumventing the mount point
> > handling

It was not my intention. :)  It's just due to my sharing scripts and
configurations between various machines (with varying disk layouts and
sizes), I sometimes need to use links to work around things.


> I just wonder if such a bordercase is worth the extra performance hit
> for each Cygwin invocation.

Of course I'd like to see it resolved, but I don't remember any
non-cosmetic issue caused by it, *so far*.  Is there an estimate of
how big of a slow-down the fix causes?

David Macek

More information about the Cygwin-developers mailing list