aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-01-02 14:15:34 +0100
committerFabian Groffen <grobian@gentoo.org>2024-01-02 14:15:34 +0100
commite023e57e23cffce91451e64086bb748ce44fbc80 (patch)
tree879a4d9c5bcb68392cb60c66ecb3258a180be471
parentqmerge: fix Coverity 190455 Argument cannot be negative (diff)
downloadportage-utils-e023e57e23cffce91451e64086bb748ce44fbc80.tar.gz
portage-utils-e023e57e23cffce91451e64086bb748ce44fbc80.tar.bz2
portage-utils-e023e57e23cffce91451e64086bb748ce44fbc80.zip
qmerge: sloppily circumvent Coverity 125893
use mkdir_p to avoid Unchecked return value from library Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--qmerge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmerge.c b/qmerge.c
index 8924a37e..fba52993 100644
--- a/qmerge.c
+++ b/qmerge.c
@@ -1224,7 +1224,7 @@ pkg_merge(int level, const depend_atom *qatom, const tree_match_ctx *mpkg)
/* Doesn't actually remove $PWD, just everything under it */
rm_rf(".");
- mkdir("temp", 0755);
+ mkdir_p("temp", 0755);
mkdir_p(portroot, 0755);
tbz2size = 0;