diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-16 01:19:13 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-04-16 01:19:13 +0200 |
commit | 44fb01e8a8417fadd79ba347c9ad3f0bb3a1d0b8 (patch) | |
tree | 045d4ba29b60ed1a28fc2eb55caf01b570e46156 /lib/util/rbtree.c | |
parent | b3f2636f44eea1a8b6fbf892d2daa611cff9d4af (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/util/rbtree.c')
0 files changed, 0 insertions, 0 deletions