util: when creating temporary filename for atomic creation of files, add an extra "#" to the name

System Internals / systemd - Lennart Poettering [poettering.net] - 19 December 2014 12:19 UTC

That way, we have a simple, somewhat reliable way to detect such temporary files, by simply checking if they start with ".#".

8eebf6a util: when creating temporary filename for atomic creation of files, add an extra "#" to the name
src/shared/util.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

Upstream: github.com


  • Share