aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/natFileChannelImpl.cc
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-13 09:13:31 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-05-13 09:13:31 +0000
commite48d8b88869563f85f2c83108257615f1cc73c76 (patch)
tree4f31beddee142afb687e3a3b376d800f72755434 /libjava/gnu/java/nio/natFileChannelImpl.cc
parentaa8f1f579392001a71f98b59e7ead1ed3842f3f6 (diff)
downloadgcc-e48d8b88869563f85f2c83108257615f1cc73c76.zip
gcc-e48d8b88869563f85f2c83108257615f1cc73c76.tar.gz
gcc-e48d8b88869563f85f2c83108257615f1cc73c76.tar.bz2
2003-05-13 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java (SYNC): New constant. (DSYNC): Likewise. (getLength): Renamed from lenght() to match classpath's FileDescriptor.java. * java/io/RandomAccessFile.java (RandomAccessFile): Removed unneeded mode check, implemented mode "rws" and "rwd", merged documentation from classpath. (setLength): Reformatted. (length): Use new getLength() of FileDescriptor. * java/io/natFileDescriptorEcos.cc (getLength): Renamed from length(). * java/io/natFileDescriptorPosix.cc (open): Implemented support for SYNC and DSYNC. (seek): Use getLength() instead of length(). (getLength): Renamed from length(). * java/io/natFileDescriptorWin32.cc (getLength): Renamed from length(). (seek): Use getLength() instead of length(). (available): Likewise. * gnu/java/nio/natFileChannelImpl.cc (size): Use getLength() instead of length(). From-SVN: r66755
Diffstat (limited to 'libjava/gnu/java/nio/natFileChannelImpl.cc')
-rw-r--r--libjava/gnu/java/nio/natFileChannelImpl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/gnu/java/nio/natFileChannelImpl.cc b/libjava/gnu/java/nio/natFileChannelImpl.cc
index b33a79f..6275b69 100644
--- a/libjava/gnu/java/nio/natFileChannelImpl.cc
+++ b/libjava/gnu/java/nio/natFileChannelImpl.cc
@@ -34,7 +34,7 @@ details. */
jlong
gnu::java::nio::FileChannelImpl::size ()
{
- return fd->length ();
+ return fd->getLength ();
}
jlong