[MacPorts] #59921: shellinabox @2.20: error: static declaration of 'ptsname_r' follows non-static declaration
MacPorts
noreply at macports.org
Tue Jan 7 15:25:48 UTC 2020
#59921: shellinabox @2.20: error: static declaration of 'ptsname_r' follows non-
static declaration
--------------------------+------------------------
Reporter: valorisa | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: highsierra
Port: shellinabox |
--------------------------+------------------------
Comment (by kencu):
The replacement function is guarded, but obviously the guard is not being
set properly -- possibly due to the unguarded availability warning?
{{{
#if !defined(HAVE_PTSNAME_R)
static int ptsname_r(int fd, char *buf, size_t buflen) {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59921#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list