• Casper Dik's avatar
    Fix getpeereid() compilation on Solaris · a4812cdf
    Casper Dik authored
    The code in getpeereid() is unlikely to compile as ucred_t is an opaque
    struct (ucred_t * works but ucred_t does not). Either you need to give
    a pointer initialized to NULL and getpeerucred() allocates a new ucred
    or you call it with an allocated ucred as in this patch.
    Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
    a4812cdf
Name
Last commit
Last update
include Loading commit data...
man Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen Loading commit data...
configure.ac Loading commit data...
get-version Loading commit data...