summaryrefslogtreecommitdiffstats
path: root/www/apache-jserv/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-05-29 03:24:56 +0000
committersteve <steve@FreeBSD.org>2000-05-29 03:24:56 +0000
commitba75ee94e1c51eb28d87aa09f4986c67215de148 (patch)
treeab76eef6811226942c2606f17bbf959023e4987d /www/apache-jserv/files
parent645f486c6d30ca862987cd792c731662b1e7147b (diff)
downloadFreeBSD-ports-ba75ee94e1c51eb28d87aa09f4986c67215de148.zip
FreeBSD-ports-ba75ee94e1c51eb28d87aa09f4986c67215de148.tar.gz
Update to version 1.1.1.
PR: 18668 Submitted by: Palle Girgensohn <girgen@partitur.se>
Diffstat (limited to 'www/apache-jserv/files')
-rw-r--r--www/apache-jserv/files/patch-af26
1 files changed, 3 insertions, 23 deletions
diff --git a/www/apache-jserv/files/patch-af b/www/apache-jserv/files/patch-af
index 69c4bf4..e790183 100644
--- a/www/apache-jserv/files/patch-af
+++ b/www/apache-jserv/files/patch-af
@@ -1,26 +1,6 @@
---- src/java/org/apache/java/lang/AdaptiveClassLoader.java.orig Tue Feb 8 18:37:01 2000
-+++ src/java/org/apache/java/lang/AdaptiveClassLoader.java Tue Feb 8 20:33:18 2000
-@@ -661,7 +661,18 @@
- ZipEntry entry = zipfile.getEntry(name);
-
- if (entry != null) {
-- return zipfile.getInputStream(entry);
-+ InputStream stream = zipfile.getInputStream(entry);
-+ byte data[] = new byte[(int)entry.getSize()];
-+ for(int i = 0 ; i < data.length ;) {
-+ int size = stream.read(data, i, data.length - i);
-+ if(size < 0) {
-+ stream.close();
-+ return null;
-+ }
-+ i += size;
-+ }
-+ stream.close();
-+ return new ByteArrayInputStream(data);
- } else {
- return null;
- }
-@@ -671,6 +682,7 @@
+--- src/java/org/apache/java/lang/AdaptiveClassLoader.java.orig Sun Mar 12 06:34:42 2000
++++ src/java/org/apache/java/lang/AdaptiveClassLoader.java Fri May 19 00:10:41 2000
+@@ -723,6 +723,7 @@
if ( zipfile != null ) {
try {
zipfile.close();
OpenPOWER on IntegriCloud