summaryrefslogtreecommitdiffstats
path: root/libjava/java/sql
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 13:46:02 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-17 13:46:02 +0000
commit13437ef9c8be4984ca23e40d9e51931b90736b63 (patch)
treee3b46bce712fc96cd55d5375844c9ae031cde8eb /libjava/java/sql
parentb9021ced2beb38f8ab45d89327bf8b760f99660a (diff)
downloadppe42-gcc-13437ef9c8be4984ca23e40d9e51931b90736b63.tar.gz
ppe42-gcc-13437ef9c8be4984ca23e40d9e51931b90736b63.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/sql')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud