bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS coreutils "pwd" make check failure on Linux 2.4.18


From: Paul Eggert
Subject: CVS coreutils "pwd" make check failure on Linux 2.4.18
Date: Tue, 15 Jun 2004 13:02:26 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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  <address@hidden>

        * 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.])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]