[vlc-commits] commit: Win32: handle WSAEINTR correctly, should fix #3101 ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Fri Apr 16 16:08:22 CEST 2010


vlc/vlc-1.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 16 16:54:55 2010 +0300| [f8d9ac6e34f52902cc6ba60afe2b055ae1603662] | committer: Rémi Denis-Courmont 

Win32: handle WSAEINTR correctly, should fix #3101

(cherry picked from commit 2275df911220b4ae3525014fc711c7e467fcf69f)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.0.git/?a=commit;h=f8d9ac6e34f52902cc6ba60afe2b055ae1603662
---

 src/network/io.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/network/io.c b/src/network/io.c
index 313e0e8..75001f5 100644
--- a/src/network/io.c
+++ b/src/network/io.c
@@ -362,6 +362,7 @@ __net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
             switch (WSAGetLastError ())
             {
                 case WSAEWOULDBLOCK:
+                case WSAEINTR:
                 /* only happens with vs != NULL (TLS) - not really an error */
                     continue;
 



More information about the vlc-commits mailing list