> To be useful, cygpath must fully resolve a pathname, not just the last > component.
While I'm at it, it would be nice if cygwin exported resolvepath(2) - it is not POSIX, but Solaris defines it as: #include <unistd.h> int resolvepath(const char *path, char *buf, size_t bufsiz); similar to the POSIX XSI-required realpath(2), but with a size argument. Coreutils currently checks at configure time for resolvepath, rather than realpath. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/