bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/31815] New: LineNumberReader problem with CR+LF on buffer


From: danny dot brugman at chordiant dot com
Subject: [Bug classpath/31815] New: LineNumberReader problem with CR+LF on buffer boundary
Date: 4 May 2007 13:07:29 -0000

When a CR+LF combination happens to occur on a buffer boundary (i.e. the CR
character is the last character of the current buffer), then readLine() will
read an additional blank line, and the 'lineNumber' will be out-of-sync (one
too high).

It seems an issue in the 'skipRedundantLF()' function, which is trying to
prevent exactly this issue.

Sorry that I'm a bit scarce on details - I can supply you with more details at
a later time, if needed.


-- 
           Summary: LineNumberReader problem with CR+LF on buffer boundary
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danny dot brugman at chordiant dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31815





reply via email to

[Prev in Thread] Current Thread [Next in Thread]