]> err.no Git - systemd/commit
libudev: device - create db file atomically
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 13 Jan 2010 12:26:56 +0000 (13:26 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 13 Jan 2010 12:26:56 +0000 (13:26 +0100)
commit7c34949019720b3865c6d0080ae8c7cfdb313085
tree8ad3cf76650059b4268ed88a7425b5f6c316da37
parent889dd1061c2e09044a6c0450c06180b47288fe4f
libudev: device - create db file atomically

We need to prevent that libudev parses half-written database files.

Also for "change" events, we need to make sure, that database files
always exist to be read by libudev, and that they are not first deleted
before they are re-created.
Makefile.am
libudev/libudev-device-private.c