]> err.no Git - systemd/commit
[PATCH] namedev: skip backslashes only if followed by newline
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 26 Feb 2005 01:52:04 +0000 (02:52 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:39:48 +0000 (23:39 -0700)
commit77313cd0d13ed3682f25c745f71f648292b28215
treeb8ed0937895499b6fc28daa4b67e46d6e1dfac97
parent9c020c60165997be842948d11f51ce6dd6b9b745
[PATCH] namedev: skip backslashes only if followed by newline

Fix from: Hannes Reinecke <hare@suse.de>
namedev_parse is a bit overzealous when in comes to handling backspaces;
it always eats up backspaces regardless of anything beyond that. This
means it is impossible to enter '\t' in a rule. Quite a bit of fun when
you're trying to write regexps.
namedev_parse.c
test/udev-test.pl