forked from ariadne/pkgconf
libpkgconf: fragment: track merged fragments, as they should never be quoted
parent
cad2515be5
commit
7274357565
|
@ -173,6 +173,7 @@ pkgconf_fragment_add(const pkgconf_client_t *client, pkgconf_list_t *list, const
|
|||
|
||||
free(parent->data);
|
||||
parent->data = newdata;
|
||||
parent->merged = true;
|
||||
|
||||
/* use a copy operation to force a dedup */
|
||||
pkgconf_node_delete(&parent->iter, list);
|
||||
|
|
|
@ -78,6 +78,8 @@ struct pkgconf_fragment_ {
|
|||
|
||||
char type;
|
||||
char *data;
|
||||
|
||||
bool merged;
|
||||
};
|
||||
|
||||
struct pkgconf_dependency_ {
|
||||
|
|
Loading…
Reference in New Issue