gcc/libjava/gnu
Michael Koch baa61e09ef [multiple changes]
2004-07-17  Mark Wielaard  <mark@klomp.org>

	* gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
	when size is smaller.
	* java/io/RandomAccessFile.java (setLength): Use truncate for
	shrinking the file and seek plus write for expanding the file.

2004-07-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/channels/natFileChannelPosix.cc
	(implTruncate): Always save current position. Only reposition file
	pointer to where we started if not beyond new lenght. Reposition file
	pointer to file length if it points beyond the end of file.

From-SVN: r84868
2004-07-17 13:46:02 +00:00
..
awt XCanvasPeer.java (createImage): Implement. 2004-07-12 16:26:07 +00:00
classpath URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
gcj XCanvasPeer.java (createImage): Implement. 2004-07-12 16:26:07 +00:00
java [multiple changes] 2004-07-17 13:46:02 +00:00
regexp CharIndexedInputStream.java: Reordered imports to match classpath. 2004-07-09 13:27:27 +00:00