[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator
MacPorts
noreply at macports.org
Thu May 2 01:03:55 UTC 2024
#69838: R-nloptr: stpncpy: error: expected parameter declarator
---------------------------------------+--------------------------
Reporter: ryandesign | Owner: barracuda156
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: R-nloptr, legacy-support |
---------------------------------------+--------------------------
Comment (by fhgwright):
It turns out that `stpncpy` is the only function affected by this
''particular'' form of collision, though not for the reason that Ken
implied. There are four `string.h` functions provided by `legacy-support`
prior to 10.7. There are ten `string.h` functions with "secure" wrappers
in the 10.7 SDK. But only `stpncpy` is in the intersection between those
two sets.
Actually editing in the one-line fix probably indeed took less that five
minutes, but determining the fix took longer, determining that the fix was
only relevant to `stpncpy` took longer, verifying that the fix actually
fixed the problem took longer, and of course testing the result on all the
platforms took longer.
See:
[https://github.com/macports/macports-legacy-support/pull/85]
--
Ticket URL: <https://trac.macports.org/ticket/69838#comment:30>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list