This patch replaces use of deprecated gethostbyname by getaddrinfo.
Author: Rafik Zurob
Differential D95477
[llvm-jitlink] Replace use of deprecated gethostbyname by getaddrinfo. saghir on Jan 26 2021, 1:04 PM. Authored by
Details
This patch replaces use of deprecated gethostbyname by getaddrinfo. Author: Rafik Zurob
Diff Detail
Event Timeline
Comment Actions The POSIX specification discourages using memset to initialize addrinfo for portability reasons.
|
IIRC, this syntax didn't build for me on Linux. I suggest this instead: addrinfo Hints{};