Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
See the NEWS file for more information.
This commit is contained in:
12
lib/util.c
12
lib/util.c
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user