Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous implementation did stat the directory and created it if not there. This allowed for a race condition where other rpm instances could create the directory inbetween. This was observed in the wild for %{_tmppath}. Do create the directory unconditionally and if that fails see if the directory is there already. Not adding a test case as rpmioMkpath is heavily used all over the the code base and tests for race conditions don't really fit in the test suite. Resolves: rpm-software-management#3508
- Loading branch information