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

Inconsistent error handling in QFile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.3.3
    • Core: I/O
    • None

    Description

      QFile will for most of it's functions ask the file engine for the error and set the QFile error to this one. This is not the case for all functions though, i.e. QFile::remove() will use the global "errno" variable directly for setting the error and this makes it impossible to write a new file engine and have the engine provide the error for QFile.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes