gcc/libjava/gnu/java/nio
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
..
channels [multiple changes] 2004-07-17 13:46:02 +00:00
charset URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
ChannelInputStream.java
ChannelOutputStream.java
DatagramChannelImpl.java
DatagramChannelSelectionKey.java
FileLockImpl.java URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
InputStreamChannel.java
natNIOServerSocket.cc
natPipeImplEcos.cc
natPipeImplPosix.cc
natPipeImplWin32.cc
natSelectorImplEcos.cc
natSelectorImplPosix.cc
natSelectorImplWin32.cc
NIOConstants.java
NIODatagramSocket.java
NIOServerSocket.java
NIOSocket.java
OutputStreamChannel.java
PipeImpl.java
SelectionKeyImpl.java
SelectorImpl.java SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. 2004-07-09 13:56:08 +00:00
SelectorProviderImpl.java
ServerSocketChannelImpl.java
ServerSocketChannelSelectionKey.java
SocketChannelImpl.java URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
SocketChannelSelectionKey.java