This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"realpath" behavior


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]