I don't think the string_escape option will work if it's reset after each token. diff --git a/udev/udev-rules.c b/udev/udev-rules.c index a11cc47..45806c3 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1593,6 +1593,7 @@ enum escape_type { int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event) { + enum escape_type esc = ESCAPE_UNSET; struct token *rule; struct token *cur; @@ -1602,7 +1603,6 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event /* loop through token list, match, run actions or forward to next rule */ cur = &rules->tokens[0]; while (cur != NULL && cur->type != TK_END) { - enum escape_type esc = ESCAPE_UNSET; unsigned int idx; dump_token(rules, cur); -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html