Correctly update feature strings
authorHannes Reinecke <hare@suse.de>
Tue, 3 May 2011 13:55:39 +0000 (15:55 +0200)
committerHannes Reinecke <hare@suse.de>
Tue, 3 May 2011 14:55:02 +0000 (16:55 +0200)
commit7331cf5103c1b5d262d8150b132767a7f1863b76
treea314a6acd7bfc9b8fe42e7dddc78525db7494ddb
parent8bb36bd60fe706961e39322db139f8e0430662f1
Correctly update feature strings

The 'features' string might contain arbitrary features,
so we shouldn't assume anything here.
This patch implements a parser for properly adding
and removing selected features whilst keeping the
'features' string syntactically correct.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/configure.c
libmultipath/dmparser.c
libmultipath/propsel.c
libmultipath/structs.c
libmultipath/structs.h