config: Always error if we have duplicate config entries.
modified libpkg/pkg.c
@@ -710,12 +710,8 @@ pkg_addconfig_file(struct pkg *pkg, const char *path, const char *content)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -414,6 +414,7 @@ pkg_array(struct pkg *pkg, const ucl_object_t *obj, uint32_t attr)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -483,8 +484,11 @@ pkg_array(struct pkg *pkg, const ucl_object_t *obj, uint32_t attr)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -778,6 +782,7 @@ parse_manifest(struct pkg *pkg, struct pkg_manifest_key *keys, ucl_object_t *obj
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -790,7 +795,9 @@ parse_manifest(struct pkg *pkg, struct pkg_manifest_key *keys, ucl_object_t *obj
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/frontend/configmerge.sh
@@ -3,6 +3,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -50,6 +51,26 @@ config_body()
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|