• Rémi Denis-Courmont's avatar
    live: use getaddrinfo() instead of gethostbyname() · 925de535
    Rémi Denis-Courmont authored
    gethostbyname() is not thread-safe.
    
    This patch is not used in Windows. getaddrinfo() requires XP, and
    gethostbyname is thread-safe with Winsock.
    (cherry picked from commit 9fb933d3279d7da8ba81346c0e2a2437424a8b99)
    
    Conflicts:
    
    	extras/contrib/src/Makefile
    
    Please be more careful when you resolve conflicts! Prior to this patch,
    contrib would not build on non-Windows.
    925de535
live-getaddrinfo.patch 5 KB