Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move implementation of <file_change_detection.h> into a C file | Florian Weimer | 2020-02-18 | 1 | -30/+27 |
| | | | | | | | | | | | file_change_detection_for_stat partially initialize struct file_change_detection in some cases, when the size member alone determines the outcome of all comparisons. This results in maybe-uninitialized compiler warnings in case of sufficiently aggressive inlining. Once the implementation is moved into a separate C file, this kind of inlining is no longer possible, so the compiler warnings are gone. | ||||
* | Add internal <file_change_detection.h> header file | Florian Weimer | 2020-02-12 | 1 | -0/+206 |
The code started out with bits form resolv/resolv_conf.c, but it was enhanced to deal with directories and FIFOs in a more predictable manner. A test case is included as well. This will be used to implement the /etc/resolv.conf change detection. This currently lives in a header file only. Once there are multiple users, the implementations should be moved into C files. |