summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-08 13:53:02 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-08 13:53:02 +0100
commitc835ac7dc3286ee77547e385a3420c42e8f535b9 (patch)
tree70d743576dcf2bdf61c54c21ac31cc2df1a5e082 /include/common.h
parentd053eb8096a790d81b67c844d918341e797c2659 (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 'include/common.h')
0 files changed, 0 insertions, 0 deletions