Commit 53462241 authored by Damien Fouilleul's avatar Damien Fouilleul

- io.c: meaningful error message on win32 when input is dying

parent c8fdee00
......@@ -299,7 +299,11 @@ net_ReadInner( vlc_object_t *restrict p_this, unsigned fdc, const int *fdv,
int delay_ms = dontwait ? 0 : 500;
if (p_this->b_die)
{
#if defined(WIN32) || defined(UNDER_CE)
WSASetLastError(WSAEINTR);
#else
errno = EINTR;
#endif
goto error;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment