On my Linux 2.4.18 host, CVS coreutils "make check" fails in the pwd test due to what appears to be an obvious typo in m4/getcwd-path-max.m4. Here's a patch.
2004-06-15 Paul Eggert <[EMAIL PROTECTED]> * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd was being replaced when it shouldn't have been, and vice versa. Index: m4/getcwd-path-max.m4 =================================================================== RCS file: /home/meyering/coreutils/cu/m4/getcwd-path-max.m4,v retrieving revision 1.10 diff -p -u -r1.10 getcwd-path-max.m4 --- m4/getcwd-path-max.m4 6 May 2003 08:51:26 -0000 1.10 +++ m4/getcwd-path-max.m4 15 Jun 2004 19:51:58 -0000 @@ -1,4 +1,4 @@ -#serial 4 +#serial 5 # Check whether getcwd has the bug that it succeeds for a working directory # longer than PATH_MAX, yet returns a truncated directory name. # If so, arrange to compile the wrapper function. @@ -126,7 +126,7 @@ main () [gl_cv_func_getcwd_vs_path_max=no], [gl_cv_func_getcwd_vs_path_max=no])]) - if test $gl_cv_func_getcwd_vs_path_max = yes; then + if test $gl_cv_func_getcwd_vs_path_max = no; then AC_LIBOBJ(getcwd) AC_DEFINE(getcwd, rpl_getcwd, [Define to rpl_getcwd if the wrapper function should be used.]) _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils