]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 7 Mar 2003 10:16:50 +0000 (10:16 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 7 Mar 2003 10:16:50 +0000 (10:16 +0000)
lib/ChangeLog

index f9c054011088185145fa70a889a8534de56c654a..603f06ab1e9a057d4123ab6145e44288f34e9b9f 100644 (file)
@@ -1,15 +1,18 @@
 2003-03-07  Jim Meyering  <jim@meyering.net>
 
+       * getcwd.c: #undef getcwd only after *all* included header files.
+       Declare getcwd unconditionally.  The problem was that same.h
+       included config.h, and that defined getcwd to rpl_getcwd a second
+       time (after the original #undef), and led to the rpl_getcwd
+       function calling itself endlessly.  This was the cause of at least
+       the `du' test failures on IRIX 6.5, reported by Nelson Beebe.
+
        * same.h (same_name): Remove unnecessary inclusion of config.h.
        It also happened to lead to infinite recursion in getcwd.c.
        (PARAMS): Remove definition and use.
 
 2003-03-06  Jim Meyering  <jim@meyering.net>
 
-       * getcwd.c: #undef getcwd before including system headers.
-       This avoid a build failure on IRIX 6.5.  Reported by Nelson Beebe.
-
-       Fix a bug that causes du to dump core on 64-bit systems.
        * ftw.c (ftw_startup): Declare `func' parameter to be of type
        NFTW_FUNC_T, not void* which may be smaller on 64-bit systems.
        Remove now-unnecessary cast.