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

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

XMLWordPrintable

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

      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

        1. main.cpp
          1 kB
          COLE Edouard
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes