[Rpm-maint] [rpm-software-management/rpm] AIX: Fix compilation error due to __errno_location (PR #4051)
sswamy48
notifications at github.com
Fri Nov 21 15:07:42 UTC 2025
This is an initial patch in a series of patches to fix errors on AIX.
In AIX we can see errors as below.
/home/sangam/rpm-ci/rpm/misc/fts.c:88:31: warning: implicit declaration of function '__errno_location' [-Wimplicit-function-declaration]
88 | # define __set_errno(val) (*__errno_location ()) = (val)
| ^~~~~~~~~~~~~~~~
/home/sangam/rpm-ci/rpm/misc/fts.c:149:3: note: in expansion of macro '__set_errno'
149 | __set_errno (EINVAL);
| ^~~~~~~~~~~
The proposed patch fixes this issue.
Please review the patch and let me know your comments.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/4051
-- Commit Summary --
* AIX: Fix compilation error due to __errno_location
-- File Changes --
M misc/fts.c (3)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/4051.patch
https://github.com/rpm-software-management/rpm/pull/4051.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4051
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4051 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251121/e77b47d3/attachment.htm>
More information about the Rpm-maint
mailing list