udev: split udev_event_apply_format() into small pieces
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Apr 2019 18:09:49 +0000 (20:09 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 2 Jun 2019 23:35:08 +0000 (08:35 +0900)
commit13cd553f91fdb7ad58e453fcb0cc48841045e043
treebf2d766720cd409d7483c41933893da994419f89
parent3c209d607050564779213f0b03a2f00e439ddee8
udev: split udev_event_apply_format() into small pieces

Also, this makes the function refuse invalid formatting and
propagate error in substituing variable.
src/udev/udev-event.c