A new C99-syntax problem has appeared in 6.4 (after applying
c99-to-c89.diff), which is not the same as the ones I reported for 6.3.

A patch to fix it is appended.

---- Michael Deutschmann <[EMAIL PROTECTED]>

diff -durpN coreutils-6.4/lib/fts.c coreutils-fix/lib/fts.c
--- coreutils-6.4/lib/fts.c     2006-10-13 06:41:20.000000000 -0700
+++ coreutils-fix/lib/fts.c     2006-10-23 14:43:10.000000000 -0700
@@ -899,6 +899,7 @@ fts_build (register FTS *sp, int type)
        bool nostat;
        size_t len, maxlen, new_len;
        char *cp;
+       bool is_dir;
 
        /* Set current node pointer. */
        cur = sp->fts_cur;
@@ -1073,7 +1074,6 @@ mem1:                             saved_errno = errno;
                } else
                        p->fts_accpath = p->fts_name;
 
-               bool is_dir;
                if (sp->fts_compar == NULL || ISSET(FTS_DEFER_STAT)) {
                        /* Record what fts_read will have to do with this
                           entry. In many cases, it will simply fts_stat it,


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to