chiark / gitweb /
libudev: udev_device_add_property - implicitly mark properties for saving to db
authorTom Gundersen <teg@jklm.no>
Thu, 5 Mar 2015 17:08:50 +0000 (18:08 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 9 Mar 2015 21:50:44 +0000 (22:50 +0100)
commitdf546eb56a3e8cb7cbea7a1cb630f9ed21ea5c6b
tree24a1a597f2b0e445bff200a1b275a2890573255b
parent3738cc858d6d1312f66a31d2f7652328bb317876
libudev: udev_device_add_property - implicitly mark properties for saving to db

Properties should only be saved to the db when added to the udev_device by udevd, and only if
the property does not start with a '.'. Make this implicit rather than expose the marking of
properties.
src/libudev/libudev-device.c
src/libudev/libudev-private.h
src/udev/udev-rules.c