diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-01-08 13:53:02 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-01-08 13:53:02 +0100 |
commit | c835ac7dc3286ee77547e385a3420c42e8f535b9 (patch) | |
tree | 70d743576dcf2bdf61c54c21ac31cc2df1a5e082 /lib/compat/mockups.c | |
parent | d053eb8096a790d81b67c844d918341e797c2659 (diff) |
Always append '/' to names of directories
In the distant past, the first versions of tar did not have any header
field to indicate the type of the file being packed. Instead, they used
to append a '/' to the filename to indicate that an entry is a actually
a directory. GNU tar still does this today, despite having a header
field for file type.
This commit modifies sqfs2tar to append slashes to directory names
for compatibillity and to mimic GNU tar behaviour more closely.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/compat/mockups.c')
0 files changed, 0 insertions, 0 deletions