D8299: libzip: Preserve modtime when extracting

Ragnar Thomsen noreply at phabricator.kde.org
Sat Oct 14 19:10:24 UTC 2017


rthomsen updated this revision to Diff 20754.
rthomsen added a comment.


  Also restore mtime for directories. Since mtime for a dir gets updated when files/subfolders are added to it, we need to first save mtime for parentdir, then write the file/subfolder and finally restore the mtime for the parentdir.

REPOSITORY
  R36 Ark

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D8299?vs=20745&id=20754

REVISION DETAIL
  https://phabricator.kde.org/D8299

AFFECTED FILES
  plugins/libzipplugin/libzipplugin.cpp

To: rthomsen, elvisangelaccio
Cc: kde-utils-devel, #ark, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20171014/265c06d5/attachment.html>


More information about the Kde-utils-devel mailing list