libpkgconf: fragment: track merged fragments, as they should never be quoted

feature/tap-sh
William Pitcock 2017-12-10 00:39:39 -06:00
parent cad2515be5
commit 7274357565
2 changed files with 3 additions and 0 deletions

View File

@ -173,6 +173,7 @@ pkgconf_fragment_add(const pkgconf_client_t *client, pkgconf_list_t *list, const
free(parent->data); free(parent->data);
parent->data = newdata; parent->data = newdata;
parent->merged = true;
/* use a copy operation to force a dedup */ /* use a copy operation to force a dedup */
pkgconf_node_delete(&parent->iter, list); pkgconf_node_delete(&parent->iter, list);

View File

@ -78,6 +78,8 @@ struct pkgconf_fragment_ {
char type; char type;
char *data; char *data;
bool merged;
}; };
struct pkgconf_dependency_ { struct pkgconf_dependency_ {