diff options
author | Tom Tromey <tromey@redhat.com> | 2001-09-05 18:44:14 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-09-05 18:44:14 +0000 |
commit | 68cc42286ec83d6b62800ba83fd1fe4d88dd3d01 (patch) | |
tree | b965c484a713b00c3cbd2743164f0c29f6b6cc49 /java/io/FileOutputStream.java | |
parent | 56dd39b1395f2b64de57bd35bea70c2702d68fa5 (diff) | |
download | classpath-68cc42286ec83d6b62800ba83fd1fe4d88dd3d01.tar.gz |
Report from Gansha Wu:
* java/io/FileOutputStream.java (write(byte[],int,int)): Correctly
pass `offset' to writeInternal.
Diffstat (limited to 'java/io/FileOutputStream.java')
-rw-r--r-- | java/io/FileOutputStream.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/io/FileOutputStream.java b/java/io/FileOutputStream.java index da8c6e755..d34f96c72 100644 --- a/java/io/FileOutputStream.java +++ b/java/io/FileOutputStream.java @@ -1,5 +1,5 @@ /* FileOutputStream.java -- Writes to a file on disk. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2001 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -258,7 +258,7 @@ write(byte[] buf) throws IOException public synchronized void write(byte[] buf, int offset, int len) throws IOException { - writeInternal(native_fd, buf, 0, len); + writeInternal(native_fd, buf, offset, len); } /*************************************************************************/ |