Convert try (from dirrm) from int to bool
modified libpkg/pkg.c
@@ -614,12 +614,12 @@ pkg_addcategory(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h
@@ -409,7 +409,7 @@ int pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sha256, cons
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -419,7 +419,7 @@ int pkg_adddir(struct pkg *pkg, const char *path, int try);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -500,7 +500,7 @@ const char *pkg_dep_get(struct pkg_dep const * const , const pkg_dep_attr);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_attributes.c
@@ -105,7 +105,7 @@ pkg_dir_new(struct pkg_dir **d)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -122,7 +122,7 @@ pkg_dir_path(struct pkg_dir *d)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -434,7 +434,7 @@ pkg_set_dirs_from_node(struct pkg *pkg, yaml_node_t *item, yaml_document_t *doc,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -462,10 +462,12 @@ pkg_set_dirs_from_node(struct pkg *pkg, yaml_node_t *item, yaml_document_t *doc,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -83,7 +83,7 @@ struct pkg_dir {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|