gcc/libjava/gnu/java
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 2004-07-17 Michael Koch <konqueror@gmx.de> 2004-07-17 08:37:22 +00:00
beans BeanInfoEmbryo.java, [...]: Rename enum to e because enum is a keyword in Java 1.5. 2004-05-30 13:35:15 +00:00
io URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
lang unicode-muncher.pl: Updated to version 2.1 from GNU classpath. 2004-07-09 21:00:12 +00:00
locale 2003-07-13 Michael Koch <konqueror@gmx.de> 2003-07-13 15:00:20 +00:00
math MPN.java, Arc2D.java: Fixed javadocs all over. 2004-05-30 13:31:33 +00:00
net Connection.java (userAgent): New static final field. 2004-06-27 19:36:01 +00:00
nio [multiple changes] 2004-07-17 13:46:02 +00:00
rmi CompilerProcess.java: Fixed javadoc to by XHTML compliant. 2004-05-31 09:17:33 +00:00
security DERReader.java: Call static methods staticly. 2004-05-03 20:23:28 +00:00
text 2004-05-04 Michael Koch <konqueror@gmx.de> 2004-05-04 18:48:53 +00:00
util URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00