util: when creating temporary filename for atomic creation of files, add an extra...
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Dec 2014 17:40:23 +0000 (18:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Dec 2014 18:19:29 +0000 (19:19 +0100)
commit8eebf6ad553adb22d7ea5d291de0b0da38606f4d
tree89c27d23acf69e54768416e696cec82a51b78078
parent668c965af4e803f460925dc616f328ed274d1f3a
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 ".#".
src/shared/util.c