import©: keep the original access and modified timestamps#12357
import©: keep the original access and modified timestamps#12357TurboGit merged 1 commit intodarktable-org:masterfrom
Conversation
48dfe2c to
0a92ab0
Compare
0a92ab0 to
87c67b4
Compare
|
I'm getting a failure trying to build this PR on windows: 3 min too late. |
|
This failure was caught by CI, so I wouldn't say anyone was too late, but the opposite... |
|
@TurboGit It is now failing on master. I built master 15min ago (before the merge), without a problem. I was testing the PR and noticed the problem. |
Sorry CI is failing on all PR so I did not bother looking on this one. My bad. |
|
I have now reverted this change until the Windows issue is solved. I have tried looking for something equivalent to tv_sec but it seems not that simple and I know next to nothing about Windows. So please, can a Windows dev shine in there? TIA. |
|
@phweyland : Reverted as breaking build on Windows. |
|
From https://www.man7.org/linux/man-pages/man2/stat.2.html: The "notes' say: I haven't found version requirement for darktable... |
|
Yes for Linux no issue. Looking at MSDN it looks like we need The later will give us: And hopefully wSecond/wMilliseconds are what we are looking for. |
Thanks! Making a try. |
|
A new PR please, I cannot reopen this one. TIA. |
|
Sorry if I duplicate this report. |
fixes #12355
EDIT: The original issue is common to all OS, but the solution may be different. I've tested on Linux Debian.