This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: I need an advice
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: I need an advice
- From: Tom Tromey <tromey at redhat dot com>
- Date: 17 Aug 2001 12:19:38 -0600
- Cc: Martin Kahlert <martin dot kahlert at infineon dot com>, java at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10108171236510.24436-100000@mars.deadcafe.org>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> 2001-08-17 Jeff Sturm <jsturm@one-point.com>
Jeff> * gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
Jeff> starting from zero offset.
Wow, I wonder how this survived so long.
Jeff> - return write(work, inpos, inlength);
Jeff> + return write(work, 0, inlength);
Shouldn't that be:
return write(work, 0, srcEnd - inpos);
Tom