sudipta1411 / jtar

Automatically exported from code.google.com/p/jtar
0 stars 0 forks source link

untar file loaded as byte[] #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Untar file using FileInputStream is successful, but when FileInputStream is 
replaced by ByteArrayInputStream, then application runs into loop and file is 
untared incorrectly.

OS: Debian GNU/Linux 5.0.5, jtar1.0.4

Original issue reported on code.google.com by planci...@gmail.com on 31 Aug 2011 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
invalid

Original comment by planci...@gmail.com on 31 Aug 2011 at 8:55

GoogleCodeExporter commented 9 years ago
I had the same problem. But, when I create a ByteArrayOutputStream to zip on XZ 
file, everything seems right. But, when I try to unzip using some ZIPApp, 
appears some errors and, if I try to untar, during the loop, the last one (that 
gives null when using FileInputStream) stops waiting something (like a deadlock)

Original comment by wellingt...@gmail.com on 10 May 2013 at 7:11