1
1

mca/base: fix component selection negation. cmr:v1.7:reviewer=jsquyres

This commit was SVN r28770.
Этот коммит содержится в:
Nathan Hjelm 2013-07-12 17:55:20 +00:00
родитель 3741d62308
Коммит 8f9b7926ec

Просмотреть файл

@ -1038,6 +1038,9 @@ static int parse_requested (const char *requested, bool *include_mode,
/* Are we including or excluding? We only allow the negate
character to be the *first* character of the value (but be nice
and allow any number of negate characters in the beginning). */
*include_mode = requested[0] != negate[0];
/* skip over all negate symbols at the beginning */
requested += strspn (requested, negate);
/* Double check to ensure that the user did not specify the negate