> > Also, the pwd.c can't get the correct directory. > > Yes, that sounds like the same issue. > > Also, does your platform have a reliable getcwd function? If so, why > did "configure" decide not to use it?
You may want to further investigate m4/getcwd-path-max.m4, which was changed in CVS to gracefully accept getcwd() when the system refuses relative paths whose absolute length exceeds PATH_MAX. I recall that when I proposed the patch, I only looked for ENAMETOOLONG and ERANGE, because I simultaneously applied a patch to Cygwin to return ENAMETOOLONG instead of EINVAL. MSYS, being a fork from an older version of cygwin, is probably returning EINVAL still. -- Eric Blake _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils