Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/io/RandomAccessFile.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11// RandomAccessFile.java
    22
    3 /* Copyright (C) 1998, 1999, 2001  Free Software Foundation
     3/* Copyright (C) 1998, 1999, 2001  Free Software Foundation
    44
    55   This file is part of libgcj.
     
    3939  {
    4040    return fd.getFilePointer();
     41
     42
     43
     44
     45
    4146  }
    4247
     
    167172  public int skipBytes (int count) throws IOException
    168173  {
    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);
    170179  }
    171180
Note: See TracChangeset for help on using the changeset viewer.