]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(fts_cross_check) [FTS_DEBUG]: s/active_dir_ht/fts_cycle.ht/.
authorJim Meyering <jim@meyering.net>
Fri, 12 Aug 2005 13:00:57 +0000 (13:00 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 12 Aug 2005 13:00:57 +0000 (13:00 +0000)
lib/fts.c

index da0bface48f62c0a8c06578697b853363333e795..eb24b9862cc25e860eef9b4cd43bd79ba0b25d75 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1023,7 +1023,7 @@ fts_cross_check (FTS const *sp)
       struct Active_dir ad;
       ad.ino = t->fts_statp->st_ino;
       ad.dev = t->fts_statp->st_dev;
-      if ( ! hash_lookup (sp->active_dir_ht, &ad))
+      if ( ! hash_lookup (sp->fts_cycle.ht, &ad))
        printf ("ERROR: active dir, %s, not in tree\n", t->fts_path);
     }
 
@@ -1034,8 +1034,8 @@ fts_cross_check (FTS const *sp)
          || ent->fts_info == FTS_D))
     {
       struct Active_dir *ad;
-      for (ad = hash_get_first (sp->active_dir_ht); ad != NULL;
-          ad = hash_get_next (sp->active_dir_ht, ad))
+      for (ad = hash_get_first (sp->fts_cycle.ht); ad != NULL;
+          ad = hash_get_next (sp->fts_cycle.ht, ad))
        {
          find_matching_ancestor (ent, ad);
        }