]> git.sesse.net Git - vlc/commit
live: use getaddrinfo() instead of gethostbyname()
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Apr 2010 17:24:05 +0000 (20:24 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Apr 2010 17:26:11 +0000 (20:26 +0300)
commit9fb933d3279d7da8ba81346c0e2a2437424a8b99
tree40a9649cac60c73b5ce0870d632b8ed1cc753551
parentef3e8fb116b32ceda63f2d52d1b7bf6cb0d238c6
live: use getaddrinfo() instead of gethostbyname()

gethostbyname() is not thread-safe.

This patch is not used in Windows. getaddrinfo() requires XP, and
gethostbyname is thread-safe with Winsock.
extras/contrib/src/Makefile
extras/contrib/src/Patches/live-getaddrinfo.patch [new file with mode: 0644]