gcc/libjava/gnu/java/nio/channels
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
..
FileChannelImpl.java [multiple changes] 2004-07-17 13:46:02 +00:00
natFileChannelEcos.cc configure.in: FILE variable overrides FLATFORM when linking natFileChannelXXX.cc. 2004-03-19 22:06:12 -08:00
natFileChannelPosix.cc [multiple changes] 2004-07-17 13:46:02 +00:00
natFileChannelWin32.cc