Bug in java_io_FileInputStream_skip
Archie Cobbs
kaffe@rufus.w3.org
Fri, 18 Jun 1999 08:57:24 -0700 (PDT)
jacobi@parc.xerox.com writes:
> Bug in java_io_FileInputStream_skip
>
> /* Not seekable - try just reading. */
> ret = 0;
> while (off > 0) {
> rc = KREAD(unhand(unhand(fh)->fd)->fd, buffer, 100, &count);
>
> Should not simply read 100 bytes but beter min(100, off) bytes.
Thanks -- fixed now.
-ARchie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com