winpr/clipboard: Also save lastWriteTime for FILEDESCRIPTORW
authorPascal Nowack <Pascal.Nowack@gmx.de>
Wed, 30 Dec 2020 01:17:43 +0000 (02:17 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
commita864f0a529f5edd0de9455781e349b3fe3b7c8a7
tree917411e3fd5426538b61c9afc9654778bfe90ada
parent9d8d5e5969f5553009703c488d10aa7ceee8211b
winpr/clipboard: Also save lastWriteTime for FILEDESCRIPTORW

Currently, when a local uri-list is converted into a FILEDESCRIPTORW
list, WinPR doesn't submit the last write time for each file.
The result of this is that the last write time of each file on the
other peer will have the current time and not the actual last write
time that is present on the peer, where the files were copied from.

Fix this by also writing the last write time in addition to the
FD_WRITESTIME flag.

(cherry picked from commit 9ba614a1e3314d9d3daa6e461e7d360c67c8d000)
winpr/libwinpr/clipboard/posix.c