https://bugs.kde.org/show_bug.cgi?id=125102

Chinmoy Ranjan Pradhan <chinmoyr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.56
      Latest Commit|                            |https://commits.kde.org/kio
                   |                            |/f34c2cf0abf12a96806f9eaac5
                   |                            |153dd764ea2215
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Chinmoy Ranjan Pradhan <chinmoyr...@gmail.com> ---
Git commit f34c2cf0abf12a96806f9eaac5153dd764ea2215 by Chinmoy Ranjan Pradhan.
Committed on 03/03/2019 at 08:56.
Pushed by chinmoyr into branch 'master'.

Make file overwrite a bit safer

Summary:
Instead of truncating the existing file, a separate copy of the source file in
the
destination folder is created. If the copy was successfully created, the
existing
destination file is replaced with it. If in middle of creating the separate
copy the
disk runs out of space then an attempt is made to delete the existing
destination.
After that is done the copy operation is resumed.
FIXED-IN: 5.56

Test Plan: Unit testing and manual testing done.

Reviewers: dfaure, ngraham

Reviewed By: dfaure, ngraham

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19080

M  +47   -0    autotests/jobtest.cpp
M  +2    -0    autotests/jobtest.h
M  +42   -16   src/ioslaves/file/file_unix.cpp

https://commits.kde.org/kio/f34c2cf0abf12a96806f9eaac5153dd764ea2215

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to