Commit Graph

2 Commits

Author SHA1 Message Date
Anthony G. Basile
106c2979b6 test/test-device-nodes.c: bring in line with upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-09 17:46:26 -05:00
Dave Reisner
855ce449eb device-nodes: move device node specific code to own file
In the process, rename udev_encode_string which is poorly named
for what it does. It deals specifically with encoding names that
udev creates and has its own rules: utf8 is valid but some ascii
is not  (e.g. path separators), and everything else is simply escaped.
Rename it to encode_devnode_name.

Adopted for eudev: Anthony G. Basile <blueness@gentoo.org>

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-09 14:02:56 -05:00