diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-05-17 20:16:16 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-05-17 20:20:39 +0200 |
commit | a20173a42df64515c0a5d1c5fba0c056a633a441 (patch) | |
tree | 9c8107929e11d0726fc17f07966ac85eccece677 /exec/image-info | |
parent | de3d7827ce13a52b1bcf3b72e9dc2ee89152dea6 (diff) |
Detect all file overwrites in autoreload_inotify
mv(1) inside the same filesystem was not detected.
Supporting this case made it necessary to always watch the directory. Turns out
the logic and state keeping between arl_setup() and arl_handle() is easier,
when using different watch descriptors for the file and the directory and not
using a oneshot descriptor for the file.
Requiring an absolute canonical path for arl_setup() simplifies dir and base
name splitting. No need for dirname(3) and basename(3) anymore.
Diffstat (limited to 'exec/image-info')
0 files changed, 0 insertions, 0 deletions