- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/util/zip/InflaterInputStream.java (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/util/zip/InflaterInputStream.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 /* InflaterInputStream.java - Input stream filter for decompressing 2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.2 Copyright (C) 1999, 2000 Free Software Foundation, Inc. 3 3 4 4 This file is part of GNU Classpath. … … 91 91 if (inf == null) 92 92 throw new IOException ("stream closed"); 93 94 93 95 if (inf.finished()) 94 96 return -1; 95 if (inf.needsInput()) 96 fill (); 97 int count; 98 try 97 98 int count = 0; 99 while (count == 0) 99 100 { 100 count = inf.inflate(buf, off, len); 101 if (count == 0) 101 if (inf.needsInput()) 102 fill (); 103 try 102 104 { 103 if (this.len == -1) 104 return -1; // Couldn't get any more data to feed to the Inflater 105 if (inf.needsDictionary()) 106 throw new ZipException ("Inflater needs Dictionary"); 107 } 108 } 109 catch (DataFormatException dfe) 110 { 111 throw new ZipException (dfe.getMessage()); 105 count = inf.inflate(buf, off, len); 106 if (count == 0) 107 { 108 if (this.len == -1) 109 { 110 // Couldn't get any more data to feed to the Inflater 111 return -1; 112 } 113 if (inf.needsDictionary()) 114 throw new ZipException ("Inflater needs Dictionary"); 115 } 116 } 117 catch (DataFormatException dfe) 118 { 119 throw new ZipException (dfe.getMessage()); 120 } 112 121 } 113 122 return count; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
