Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.

See the NEWS file for more information.
This commit is contained in:
Juan RP
2014-11-06 09:58:04 +01:00
parent 578c3add0c
commit 5b522109f7
38 changed files with 278 additions and 277 deletions

View File

@@ -423,6 +423,18 @@ xbps_humanize_number(char *buf, int64_t bytes)
HN_AUTOSCALE, HN_DECIMAL|HN_NOSPACE);
}
size_t
xbps_strlcat(char *dest, const char *src, size_t siz)
{
return strlcat(dest, src, siz);
}
size_t
xbps_strlcpy(char *dest, const char *src, size_t siz)
{
return strlcpy(dest, src, siz);
}
/*
* Check if pkg is explicitly marked to replace a specific installed version.
*/