diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-05-14 03:37:36 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-05-14 03:38:00 +0200 |
commit | 7d01bbb78c11cb54c96cf9708916a116190364cb (patch) | |
tree | 93ed0294338d3fca7826b1ec9280c56a7ffda66b /bin/gensquashfs | |
parent | 5e96ce975e021551006ebff744c104f20d49741b (diff) |
libio: Move skip function into dir_iterator_t base interface
For regular iterator types, it's a no-op, for the tree iterator,
it skips the sub tree.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs')
-rw-r--r-- | bin/gensquashfs/src/fstree_from_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gensquashfs/src/fstree_from_dir.c b/bin/gensquashfs/src/fstree_from_dir.c index 6709368..6c37ee8 100644 --- a/bin/gensquashfs/src/fstree_from_dir.c +++ b/bin/gensquashfs/src/fstree_from_dir.c @@ -41,7 +41,7 @@ int fstree_from_dir(fstree_t *fs, dir_iterator_t *dir) false, true); if (n == NULL) { if (S_ISDIR(ent->mode)) - dir_tree_iterator_skip(dir); + dir->ignore_subdir(dir); free(ent); continue; } |