If a tar entry is a regualr file ending in a '/' then its really a
authorGlenn L McGrath <bug1@ihug.co.nz>
Tue, 9 Sep 2003 17:41:03 +0000 (17:41 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Tue, 9 Sep 2003 17:41:03 +0000 (17:41 -0000)
commit87af49f26b2293ab60d0f13d2a14cad66e02a6ff
tree0437f8520562dbadcb88df39f10bd14198347f87
parent640fb86b283d208a26d65c1b25aedbf37a6aca46
If a tar entry is a regualr file ending in a '/' then its really a
directory.
From http://www.gnu.org/manual/tar/html_node/tar_123.html
REGTYPE
AREGTYPE
    These flags represent a regular file. In order to be compatible with
older versions of tar, a typeflag value of AREGTYPE should be silently
recognized as a regular file. New archives should be created using
REGTYPE. Also, for backward compatibility, tar treats a regular file
whose name ends with a slash as a directory.
archival/libunarchive/get_header_tar.c