[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator

MacPorts noreply at macports.org
Wed May 1 06:02:49 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):

 Replying to [comment:24 kencu]:
 > there are 5 ports that explicitly select the 10.7 SDK on 10.6. Some
 others, like this one, might implicitly use it.
 >
 > not sure how many of those currently use stpncpy, but all are
 potentially broken until somebody gets around to adding the missing secure
 definition of stpncpy in the legacysupport headers.

 At present, `legacy-support` does not provide "secure" definitions for
 ''anything''.  Making `stpncpy()` "like all the others" isn't the fix,
 because it ''is'' like all the others.

 I filed a new ticket #69878 for adding "secure" support to `legacy-
 support`, which is not at all specific to `stpncpy()`, but rather a
 general expansion of the `legacy-support` headers.  It's also worth noting
 that adding "secure" support is neither necessary nor sufficient to fix
 the issue here.

 > Probably take about 5 minutes to do it :)

 Hardly.

-- 
Ticket URL: <https://trac.macports.org/ticket/69838#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list