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

QTemporaryFile::rename() overwrites existing file on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10.0 Beta2
    • Core: I/O
    • None
    • Android
    • 569928b64 (dev), 2089164ed (6.10), 03a1ba769 (6.9), 1a8742743 (tqtc/lts-6.8), b9195d3f3 (tqtc/lts-6.5)

    Description

      We were lacking tests that check QTemporaryFile::rename() vs. existing files. It turns out that the Android implementation overwrites existing target files while the other platforms fail in that case.

      The newly-added test: https://codereview.qt-project.org/c/qt/qtbase/+/660954

      I will QEXPECT_FAIL that test for now.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes