Hi, Ant!!

I post a patch for Kaffe problem at ZipOutputStream.

regards.

PS.
Most of Java project in GNU guarantee their software work with Kaffe
and Japhar. Do you think it's important for Java open soruce project?
SUN and IBM's JDK and JRE aren't OPEN SOURCE.  Open Source Software
*should not depend on* not open source software. (maybe there are 
unavoidable case (ex. using Swing), but these case aren't so)
---------------------------
Takashi Okamoto


Following patch is for jakarta-ant-1.4alpha Feb 9 version.
Perhaps ant-1.2 and ant-1.3 have same problem.

-------- cut here -------
--- Zip.java.orig       Tue Mar  6 15:37:35 2001
+++ Zip.java    Tue Mar  6 15:39:51 2001
@@ -451,7 +451,8 @@
         byte[] buffer = new byte[8 * 1024];
         int count = 0;
         do {
-            zOut.write(buffer, 0, count);
+           if(count!=0)
+              zOut.write(buffer, 0, count);
             count = in.read(buffer, 0, buffer.length);
         } while (count != -1);
     }


Reply via email to