[MacPorts] #71842: legacy-support: include sys/stdio.h from stdio.h
MacPorts
noreply at macports.org
Mon Jan 20 13:30:54 UTC 2025
#71842: legacy-support: include sys/stdio.h from stdio.h
-----------------------------+-----------------------
Reporter: barracuda156 | Owner: fhgwright
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: fixed | Keywords:
Port: legacy-support |
-----------------------------+-----------------------
Changes (by fhgwright):
* status: new => closed
* owner: (none) => fhgwright
* resolution: => fixed
Comment:
In [changeset:"1146902f9226e3e0bc80aa1a3e710ce8148700e1/macports-legacy-
support" 1146902f9226e3e0bc80aa1a3e710ce8148700e1/macports-legacy-support]
(master):
{{{
#!ConfigurableCommitTicketReference repository="macports-legacy-support"
revision="1146902f9226e3e0bc80aa1a3e710ce8148700e1"
Make stdio.h include sys/stdio.h for renameat().
The declaration of renameat() is in sys/stdio.h, to match Apple's
arrangement (when it exists) in 10.10+, but Apple also includes
(directly or indirectly) sys/stdio.h from stdio.h, so we need to
duplicate that behavior to ensure that stdio.h provides renameat() as
expected.
Closes: https://trac.macports.org/ticket/71842
TESTED:
Passes all tests, including updated renameat test.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71842#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list