[Rpm-maint] [rpm-software-management/rpm] Cleanups and improvements in tests/rpmpgppubkeyfingerprint.c (PR #3072)

Shreenidhi Shedi notifications at github.com
Thu May 2 15:04:29 UTC 2024


You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3072

-- Commit Summary --

  * rpmpgppubkeyfingerprint.c: use const qualifier
  * rpmpgppubkeyfingerprint.c: use rasprintf
  * rpmpgppubkeyfingerprint.c: use goto for returning from function
  * rpmpgppubkeyfingerprint.c: validate input arg
  * rpmpgppubkeyfingerprint.c: use rpmGetCwd
  * rpmpgppubkeyfingerprint.c: use static buffer instead of malloc
  * rpmpgppubkeyfingerprint.c: move variable declarations to top
  * rpmpgppubkeyfingerprint.c: use macro for printing to stderr
  * rpmpgppubkeyfingerprint.c: use macro for getting array size
  * rpmpgppubkeyfingerprint.c: omit usage of rt variable
  * rpmpgppubkeyfingerprint.c: move cleanups to end
  * rpmpgppubkeyfingerprint.c: format to rpm coding style

-- File Changes --

    M tests/rpmpgppubkeyfingerprint.c (148)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3072.patch
https://github.com/rpm-software-management/rpm/pull/3072.diff

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

Message ID: <rpm-software-management/rpm/pull/3072 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240502/2194d906/attachment.html>


More information about the Rpm-maint mailing list