[Rpm-maint] [rpm-software-management/rpm] Fix race condition in rpmioMkpath (PR #3509)
Michal Domonkos
notifications at github.com
Thu Jan 9 12:46:50 UTC 2025
@dmnks commented on this pull request.
> @@ -462,6 +462,7 @@ static FD_t urlOpen(const char * url, int flags, mode_t mode)
unlink(dest);
} else {
fd = NULL;
+ errno = ENOENT;
Can you explain why this is needed a bit more? Also, the commit message says "urlOpen: Set errno to ENOTDIR on error", shouldn't it say ENOENT instead?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3509#pullrequestreview-2539828958
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3509/review/2539828958 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250109/c10c1b4e/attachment.htm>
More information about the Rpm-maint
mailing list