[ 
https://issues.apache.org/jira/browse/COMPRESS-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114667#comment-17114667
 ] 

Stefan Bodewig commented on COMPRESS-509:
-----------------------------------------

I'm fine with always adding a / at the end for directories. We should probably 
record the change before closing this issue.

> The ambiguous behavior of the TarArchiveEntry.getName() method
> --------------------------------------------------------------
>
>                 Key: COMPRESS-509
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-509
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.18, 1.20
>            Reporter: Petr Vasak
>            Assignee: Peter Lee
>            Priority: Minor
>         Attachments: Main.java
>
>
> Scenario: To tar an empty directory and then to untar it. When the name is 
> longer than 100 characters, no ending slash appears.
> Example: see attachment
> Part of the output:
> ..
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> ..



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to