Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE
Whenever I see EXTRACT_QUOTES, I'm always confused whether it means to leave the quotes in or to take them out. Let's say "unquote", like we say "cunescape".
This commit is contained in:
@@ -380,7 +380,7 @@ static void check(const char *test, char** expected, bool trailing) {
|
||||
for (;;) {
|
||||
_cleanup_free_ char *word = NULL;
|
||||
|
||||
r = extract_first_word(&test, &word, NULL, EXTRACT_QUOTES);
|
||||
r = extract_first_word(&test, &word, NULL, EXTRACT_UNQUOTE);
|
||||
if (r == 0) {
|
||||
assert_se(!trailing);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user