diff options
author | Fabian Groffen <grobian@gentoo.org> | 2024-01-02 14:15:34 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2024-01-02 14:15:34 +0100 |
commit | e023e57e23cffce91451e64086bb748ce44fbc80 (patch) | |
tree | 879a4d9c5bcb68392cb60c66ecb3258a180be471 | |
parent | qmerge: fix Coverity 190455 Argument cannot be negative (diff) | |
download | portage-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |