diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-19 18:40:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-19 19:19:29 +0100 |
commit | 8eebf6ad553adb22d7ea5d291de0b0da38606f4d (patch) | |
tree | 89c27d23acf69e54768416e696cec82a51b78078 /src/hostname | |
parent | 668c965af4e803f460925dc616f328ed274d1f3a (diff) |
util: when creating temporary filename for atomic creation of files, add an extra "#" to the name
That way, we have a simple, somewhat reliable way to detect such
temporary files, by simply checking if they start with ".#".
Diffstat (limited to 'src/hostname')
0 files changed, 0 insertions, 0 deletions