"realpath" behavior

Robb, Sam sam.robb@timesys.com
Tue Feb 11 10:06:00 GMT 2003


Looking for someone to confirm if this is expected behavior, or a bug:

With standard mount points:

  c:\cygwin\bin on /usr/bin type system (binmode)
  c:\cygwin\lib on /usr/lib type system (binmode)

  * Calling realpath() to resolve "/bin" results in "/usr/bin".
  * Likewise, calling realpath() to resolve "/lib" results in "/usr/lib".

If anything, I'd expect the opposite behavior - ie, realpath("/usr/bin")
to return "/bin", etc.

-Samrobb



More information about the Cygwin-apps mailing list