[vlc-devel] Re: vlc: svn commit r18314 (damienf)

Remi Denis-Courmont rdenis at simphalempin.com
Fri Dec 8 02:55:33 CET 2006


On Thu, Dec 07, 2006 at 11:39:22AM +0100, Subversion daemon wrote :
> r18314 | damienf | 2006-12-07 11:39:22 +0100 (Thu, 07 Dec 2006) | 2 lines
> Changed paths:
>    M /branches/0.8.6/modules/misc/gnutls.c
> 
> - gnutls.c: probably a better fix for error on win32

I cannot test, but I think using EINTR instead of EAGAIN is extremely
dangerous. The VLC networking code will normally automatically restart
-supposedly interrupted- system calls. In other words, you are
probably introducing an infinite loop on non-blocking sockets.

IIRC, EWOULDBLOCK is the Winsock name for EAGAIN.

-- 
Remi Denis-Courmont

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list