[Rpm-maint] [rpm-software-management/rpm] AIX: revert xsetprogname and xgetprogname (PR #4056)

Panu Matilainen notifications at github.com
Tue Dec 2 09:50:13 UTC 2025


@pmatilai commented on this pull request.



> @@ -24,6 +24,15 @@
 
 #include "debug.h"
 
+#if defined(HAVE_SETPROGNAME) /* BSD'ish systems */
+#include <stdlib.h>
+#elif defined(HAVE___PROGNAME) /* glibc and others */
+extern const char *__progname;
+#else /* AIX systems */

This isn't specific to AIX, quite the opposite actually: it's the generic implementation for anything lacking a system-specific one. I think that should be reflected in the comment.

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

Message ID: <rpm-software-management/rpm/pull/4056/review/3529198613 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251202/19b493c3/attachment.htm>


More information about the Rpm-maint mailing list