commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1618356 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
Date Sat, 16 Aug 2014 13:28:13 GMT
Author: bodewig
Date: Sat Aug 16 13:28:13 2014
New Revision: 1618356

URL: http://svn.apache.org/r1618356
Log:
better write the bytes read when extracting the archive

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java?rev=1618356&r1=1618355&r2=1618356&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
Sat Aug 16 13:28:13 2014
@@ -96,6 +96,7 @@ public class CLI {
                         }
                         off += bytesRead;
                     }
+                    fos.write(contents);
                 } finally {
                     fos.close();
                 }



Mime
View raw message