summaryrefslogtreecommitdiff
path: root/src/test/test-device-nodes.c
Commit message (Collapse)AuthorAge
* shared/util: fix off-by-one error in tag_to_udev_nodeDave Reisner2013-10-06
| | | | | Triggered false negatives when encoding a string which needed every character to be escaped, e.g. "LABEL=/".
* device-nodes: move device node specific code to own fileDave Reisner2013-09-19
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.