/[classpath]/classpath/java/io/BufferedReader.java
ViewVC logotype

Diff of /classpath/java/io/BufferedReader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.15 by tromey, Tue Apr 30 23:51:51 2002 UTC
# Line 1  Line 1 
1  /* BufferedReader.java  /* BufferedReader.java
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 355  public class BufferedReader extends Read Line 355  public class BufferedReader extends Read
355      if (retAtEndOfBuffer && buffer[pos] == '\n')      if (retAtEndOfBuffer && buffer[pos] == '\n')
356        {        {
357          --count;          --count;
358          pos++;          // If the mark was set to the location of the \n, then we
359            // must change it to fully pretend that the \n does not
360            // exist.
361            if (markPos == pos)
362              ++markPos;
363            ++pos;
364        }        }
365    
366      return count;      return count;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26