[Rpm-maint] [rpm-software-management/rpm] Implement openpgp.cert.d based keystore (PR #3437)

Florian Festi notifications at github.com
Mon Nov 11 17:27:20 UTC 2024


@ffesti commented on this pull request.



>      }
 
-    if (rpmMkdirs(rpmtxnRootDir(txn), "%{_keyringpath}")) {
+    free(dir);
+    return rc;
+}
+
+/*****************************************************************************/
+
+static rpmRC acquire_write_lock(rpmtxn txn)

*urgs* should have read the last sentence, too...
If I read that correctly you are not actually required to delete `writelock` the file again. Just to be fine if it doesn't exist. @nwalfield any opinion on that?

Anyway implemented the flock and adjusted the test case.

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

Message ID: <rpm-software-management/rpm/pull/3437/review/2427821355 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241111/a88daedf/attachment-0001.html>


More information about the Rpm-maint mailing list