* gnu/java/nio/SocketChannelImpl.java
(read): Write only read data to buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72232
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-10-08 Michael Koch <konqueror@gmx.de>
+
+ * gnu/java/nio/SocketChannelImpl.java
+ (read): Write only read data to buffer.
+
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
if (readBytes > 0
&& !dst.hasArray())
{
- dst.put (data);
+ dst.put (data, offset, len);
}
return readBytes;