[MacPorts] #69571: Add stpncpy to legacy support
MacPorts
noreply at macports.org
Sun Apr 7 11:06:36 UTC 2024
#69571: Add stpncpy to legacy support
-----------------------------+-----------------------
Reporter: ryandesign | Owner: fhgwright
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: legacy-support |
-----------------------------+-----------------------
Changes (by fhgwright):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"12a4dca86937f7d072f8ed64fd7df91b60619a41/macports-legacy-
support" 12a4dca86937f7d072f8ed64fd7df91b60619a41/macports-legacy-support]
(master):
{{{
#!ConfigurableCommitTicketReference repository="macports-legacy-support"
revision="12a4dca86937f7d072f8ed64fd7df91b60619a41"
Add stpncpy() support
Imports Apple's stpncpy.c verbatim from Libc-825.24.
Removes 'restrict' qualifiers for pre-C99 compatibility.
Fixes whitespace; adds modification notice and proper build
conditional.
Updates the legacy-support headers.
Updates the README.
Closes: https://trac.macports.org/ticket/69571
TESTED:
Tested on 10.4-10.5 ppc, 10.4-10.6 i386, 10.5-10.6 ppc (i386 Rosetta),
10.5-12.x x86_64, 11.x-14.x arm64.
Passes all tests, including newly added stpncpy() tests.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69571#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list