Commit fe40f349 authored by Vitezslav Kriz's avatar Vitezslav Kriz

libfaketime: fix problem with TIMESTAMP_FILE synchronization

Clearing and writing to TIMESTAMP_FILE is not atomic and libfaketime
can read empty file which represents default behavior and returning
realtime. Create and move new file is atomic and prevent this issue.
parent 79f47cbf
Pipeline #18550 passed with stage
in 1 minute and 16 seconds