Skip to content

Fix arch-dependent getnameinfo types

Petr Menšík requested to merge pemensik/bind9:irs_buflen_socklen into v9_12

getnameinfo() parameters are detected by configure. Current glibc uses socklen_t for BUFLEN and int for flags. Because that parameters are tested only as fallback, it does detect it different way on 32-bit system. socklen_t is compatible with size_t type on these systems. Try all variants with int flags, use unsigned flags as last resort.

Fixes issue #544 (closed)

Edited by Mark Andrews

Merge request reports