- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/io/RandomAccessFile.java (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/io/RandomAccessFile.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 // RandomAccessFile.java 2 2 3 /* Copyright (C) 1998, 1999, 2001 Free Software Foundation3 /* Copyright (C) 1998, 1999, 2001 Free Software Foundation 4 4 5 5 This file is part of libgcj. … … 39 39 { 40 40 return fd.getFilePointer(); 41 42 43 44 45 41 46 } 42 47 … … 167 172 public int skipBytes (int count) throws IOException 168 173 { 169 return count <= 0 ? 0 : fd.seek(count, FileDescriptor.CUR, true); 174 if (count <= 0) 175 return 0; 176 long startPos = fd.getFilePointer(); 177 long endPos = fd.seek(count, FileDescriptor.CUR, true); 178 return (int) (endPos - startPos); 170 179 } 171 180 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
