commit | 87af49f26b2293ab60d0f13d2a14cad66e02a6ff | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Tue Sep 09 17:41:03 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Tue Sep 09 17:41:03 2003 +0000 |
tree | 0437f8520562dbadcb88df39f10bd14198347f87 | |
parent | 640fb86b283d208a26d65c1b25aedbf37a6aca46 [diff] |
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.