Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22490

CStreamLineReader returns eof even if data returned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0
    • Component/s: JLib
    • Labels:
      None

      Description

      CStreamLineReader::readLine is supposed to return true when EOF is reached.  Unfortunately, when at the end of the file and it has read some data into the output buffer, it may return true (EOF).

      The current design means that once EOF is reached, the buffer returned still has to be processed as it may still contained unprocessed data.  The problem is that we don't know-  the best that can be done now is to try to process the buffer even that nothing may have been returned.

       

        Attachments

          Activity

            People

            • Assignee:
              shamser Shamser Ahmed
              Reporter:
              shamser Shamser Ahmed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: