[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:04:10 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 16 16:54:55 2010 +0300| [4339a26c779c4a109e1915edc0b8876e437253c5] | committer: Jean-Baptiste Kempf 

Win32: handle WSAEINTR correctly, should fix #3101
(cherry picked from commit 2275df911220b4ae3525014fc711c7e467fcf69f)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=4339a26c779c4a109e1915edc0b8876e437253c5
---

 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 bd15180..bb9dc08 100644
--- a/src/network/io.c
+++ b/src/network/io.c
@@ -328,6 +328,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