summaryrefslogtreecommitdiff
path: root/lib/fstree/add_by_path.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-16 01:19:13 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-16 01:19:13 +0200
commit44fb01e8a8417fadd79ba347c9ad3f0bb3a1d0b8 (patch)
tree045d4ba29b60ed1a28fc2eb55caf01b570e46156 /lib/fstree/add_by_path.c
parentb3f2636f44eea1a8b6fbf892d2daa611cff9d4af (diff)
sqfs2tar: Fix trailing slashes for directory names
sqfs2tar is supposed to append slashes to directory names. Until now, it assumed a tree node to be a directory if it has children. This simple check obviously fails for empty directories. This commit fixes the check by actually testing the inode mode. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/add_by_path.c')
0 files changed, 0 insertions, 0 deletions