[Rpm-maint] [rpm-software-management/rpm] Fix race condition in rpmioMkpath (PR #3509)

Florian Festi notifications at github.com
Thu Jan 9 13:25:09 UTC 2025


Yes, this should be ENOENT. Will fix as soon as I have a clean work dir.

See https://github.com/rpm-software-management/rpm/blob/5a5347037b371326793afcfe9f4ec9dfd1484b79/tests/rpmgeneral.at#L434 ff

The `error: open of https://www.example.com/foo-1.0-1.x86_64.rpm failed: No such file or directory` is based on the errno. This looks right.

But errno is only set to ENOENT by accident. The next patch changes that. This patch keeps the same behavior for callers of urlOpen. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3509#issuecomment-2580147943
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3509/c2580147943 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250109/f25e700b/attachment.htm>


More information about the Rpm-maint mailing list