Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
See the NEWS file for more information.
This commit is contained in:
1 parent
578c3add0c
commit
5b522109f7
38 files changed
+278
-277
No files matched your search
@@ -480,7 +480,7 @@ main(int argc, char **argv)
|
||||
/* Initialize libxbps */
|
||||
memset(&xh, 0, sizeof(xh));
|
||||
if (rootdir != NULL)
|
||||
strncpy(xh.rootdir, rootdir, sizeof(xh.rootdir));
|
||||
xbps_strlcpy(xh.rootdir, rootdir, sizeof(xh.rootdir));
|
||||
|
||||
if ((rv = xbps_init(&xh)) != 0)
|
||||
die("failed to initialize libxbps: %s", strerror(rv));
|
||||
|
||||
Reference in new issue
Block a user