Message409265
Well, the tar command strips trailing slashes (even from file paths), so it is reasonable to do this in getmember().
$ mkdir dir
$ touch dir/file
$ tar cf archive.tar dir
$ tar tf archive.tar dir
dir/
dir/file
$ tar tf archive.tar dir/
dir/
dir/file
$ tar tf archive.tar dir/file
dir/file
$ tar tf archive.tar dir/file/
dir/file
$ tar tf archive.tar dir/file////
dir/file |
|
Date |
User |
Action |
Args |
2021-12-28 18:51:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lars.gustaebel, vstinner, r.david.murray, puppet, moloney, zigg, af, andrei.avk |
2021-12-28 18:51:01 | serhiy.storchaka | set | messageid: <1640717461.17.0.0717238669842.issue21987@roundup.psfhosted.org> |
2021-12-28 18:51:01 | serhiy.storchaka | link | issue21987 messages |
2021-12-28 18:51:01 | serhiy.storchaka | create | |
|