aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-08 21:24:07 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-08 22:24:44 +0200
commitd17046773702aad9cb3269a23ecd35f5a4a552ff (patch)
tree7cb14d8024a869239763590dcc24722c5a9cb72d /include
parentf5e46e0444197deee2eca93d36a8ebeb1ffd7a17 (diff)
genquashfs: detect/filter hardlinks when scanning a directory
The new behavior is enabled by default (except on Windows) and needs to be turned off explicitly. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/io/dir_iterator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/io/dir_iterator.h b/include/io/dir_iterator.h
index 210316f..7154b08 100644
--- a/include/io/dir_iterator.h
+++ b/include/io/dir_iterator.h
@@ -26,7 +26,8 @@ enum {
DIR_SCAN_ONE_FILESYSTEM = 0x1000,
DIR_SCAN_NO_RECURSION = 0x2000,
- DIR_SCAN_MATCH_FULL_PATH = 0x4000,
+ DIR_SCAN_NO_HARDLINKS = 0x4000,
+ DIR_SCAN_MATCH_FULL_PATH = 0x8000,
};
typedef struct {