HomeFreeBSD

security/pam-modules: redo previously committed incorrect build "fix"

Description

security/pam-modules: redo previously committed incorrect build "fix"

The xgetname() function expecting `int (*)(char *, size_t)' was written
for gethostname() which matches this (per POSIX), but also used against
getdomainname() which does not (its `namelen' argument is int). Rather
than forcibly feeding non-matching function, create a thin wrapper with
correct types.

Fixes: 3a86f14adefa

Details

Provenance
danfeAuthored on Sep 4 2023, 11:31 AM
Parents
R11:161c5b7100a6: lang/algol68g: update Algol 68 Genie to version 3.3.11
Branches
Unknown
Tags
Unknown