https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293660

Ed Maste <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #2 from Ed Maste <[email protected]> ---
Ah, crypto/krb5/src/util/support/strerror_r.c has this:

#elif defined(STRERROR_R_CHAR_P)

/*
 * Implement the POSIX strerror_r API in terms of the GNU strerror_r, which
 * returns a pointer to either the caller buffer or a constant string.  This is
 * the default version on glibc systems when _GNU_SOURCE is defined.
 */
int
k5_strerror_r(int errnum, char *buf, size_t buflen)
{
    const char *str;

    str = strerror_r(errnum, buf, buflen);
    if (str != buf) {
        if (strlcpy(buf, str, buflen) >= buflen) {
            errno = ERANGE;
            return -1;
        }
    }
    return 0;
}

so I think we just need to figure out how best to set that in the crossbuild
environment

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to