Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20966

QFile::peek() changes QFile::pos() when opened with QFile::Text mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.6.2, 4.7.3
    • Core: I/O
    • None

    Description

      Calling QFile::peek(1) on \n or \r when text mode is enabled leads to change what QFile::pos() returns. See attachments for more details

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            ed COLE Edouard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes