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: <[email protected]> |
| 2021-12-28 18:51:01 | serhiy.storchaka | link | issue21987 messages |
| 2021-12-28 18:51:01 | serhiy.storchaka | create | |
|