diff options
author | Michal Sekletár <msekleta@redhat.com> | 2020-11-05 17:55:25 +0100 |
---|---|---|
committer | Michal Sekletár <msekleta@redhat.com> | 2020-11-06 12:28:40 +0100 |
commit | a59b0a9f768f6e27b25f4f1bab6de08842e78d74 (patch) | |
tree | de6b6d7de678bc10e834cf643f6bc61fe8a33aa1 /src/udev | |
parent | test/sys-script.py: add missing DEVNAME entries to uevents (diff) | |
download | systemd-a59b0a9f768f6e27b25f4f1bab6de08842e78d74.tar.xz systemd-a59b0a9f768f6e27b25f4f1bab6de08842e78d74.zip |
basic/stat-util: make mtime check stricter and use entire timestamp
Note that st_mtime member of struct stat is defined as follows,
#define st_mtime st_mtim.tv_sec
Hence we omitted checking nanosecond part of the timestamp (struct
timespec) and possibly would miss modifications that happened within the
same second.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions