diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-19 18:40:23 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-12-20 10:58:19 -0500 |
commit | 1ebbd909119e41fe62ad680bad6199e0971e3402 (patch) | |
tree | b11f2f25c9cc584ebbca417853fe8b4a54516fde /src/libudev/libudev-device-private.c | |
parent | fcaebcecdb8428295bc9096f8f838304b588b56d (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 ".#".
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-device-private.c')
0 files changed, 0 insertions, 0 deletions