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

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

 Replying to [comment:26 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.

 OK. It's currently April 30, 2024.

 Let's see how many years this gets left broken to make some kind of point
 ;>

 Luckily, I fork legacysupport for my own uses.

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


More information about the macports-tickets mailing list