---------- Forwarded message ---------- From: Rico Basekow <[EMAIL PROTECTED]> Date: Wed, Nov 5, 2008 at 7:23 AM Subject: bug?- org.apache.tools.bzip2.CBZip2InputStream To: [EMAIL PROTECTED]
Hi Henri, I had a problem to unzip my bzip2 file on linux with Apache Ant 1.7.1. I added two lines in the org.apache.tools.bzip2.CBZip2InputStream class, that solved the problem. private void init() throws IOException { this.in.read();// added- read magic0 this.in.read();// added- read magic1 int magic2 = this.in.read(); if (magic2 != 'h') { ... Best regards Rico -- Dipl.-Inform. Rico Basekow Bioinformatics MPI fuer Molekulare Pflanzenphysiologie Wissenschaftspark Golm Am Muehlenberg 1, 14476 Potsdam, Germany Tel. +49 (0) 331-5678752 Email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]