Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/util/zip/InflaterInputStream.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* 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.
    33
    44This file is part of GNU Classpath.
     
    9191    if (inf == null)
    9292      throw new IOException ("stream closed");
     93
     94
    9395    if (inf.finished())
    9496      return -1;
    95     if (inf.needsInput())
    96       fill ();
    97     int count;
    98     try
     97
     98    int count = 0;
     99    while (count == 0)
    99100      {
    100         count = inf.inflate(buf, off, len);     
    101         if (count == 0)
     101        if (inf.needsInput())
     102          fill ();
     103        try
    102104          {
    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          }
    112121      }
    113122    return count;
Note: See TracChangeset for help on using the changeset viewer.