ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1304718 - /ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java
Date Sat, 24 Mar 2012 06:31:03 GMT
Author: bodewig
Date: Sat Mar 24 06:31:02 2012
New Revision: 1304718

URL: http://svn.apache.org/viewvc?rev=1304718&view=rev
Log:
use PAX extension headers for ASCII file names in POSIX mode

Modified:
    ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java

Modified: ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java?rev=1304718&r1=1304717&r2=1304718&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java (original)
+++ ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java Sat Mar
24 06:31:02 2012
@@ -62,6 +62,7 @@ public class Tar extends ArchiveBase {
                         o.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX);
                         o.setBigNumberMode(TarArchiveOutputStream
                                            .BIGNUMBER_POSIX);
+                        o.setAddPaxHeadersForNonAsciiNames(true);
                     }
                     return o;
                 }



Mime
View raw message