Skip to content
Snippets Groups Projects
Commit dccf7725 authored by Brad King's avatar Brad King
Browse files

SystemTools: Touch with better than 1s resolution if possible

On Windows use CreateFile (with FILE_FLAG_BACKUP_SEMANTICS so it works
for directories), GetSystemTimeAsFileTime, and SetFileTime to touch.  On
other platforms prefer utimensat, then utimes, then utime.

Change-Id: Ie85fe3766661803e66f39975a147cd6f7320ea59
CMake-Issue: 14020
parent e3370418
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment