chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e13cb5
)
fix udev attribute names with a colon
author
Theodoros V. Kalamatianos
<nyb@users.sourceforge.net>
Sun, 25 Feb 2007 00:04:23 +0000
(
01:04
+0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 25 Feb 2007 00:04:23 +0000
(
01:04
+0100)
udev_rules_parse.c
patch
|
blob
|
history
diff --git
a/udev_rules_parse.c
b/udev_rules_parse.c
index 8ef5ffee46431dd3e60510240eeb851d39e0af73..5ce91df383dfdb5c924b7008549b6d7b8679d70c 100644
(file)
--- a/
udev_rules_parse.c
+++ b/
udev_rules_parse.c
@@
-104,12
+104,9
@@
static int get_key(char **line, char **key, enum key_operation *operation, char
break;
if (linepos[0] == '=')
break;
- if (linepos[0] == '+')
- break;
- if (linepos[0] == '!')
- break;
- if (linepos[0] == ':')
- break;
+ if ((linepos[0] == '+') || (linepos[0] == '!') || (linepos[0] == ':'))
+ if (linepos[1] == '=')
+ break;
}
/* remember end of key */