vlc | branch: master | Janboe Ye <[email protected]> | Sat Feb 22 04:04:18 2020 +0800| [6768b65d2e637a14ede81a25a44424e47a9c792f] | committer: Thomas Guillem
dsm: add missing I/O error handling From 7bba85e4f3a01b5afaa624e52c7534580f840f77 Mon Sep 17 00:00:00 2001 From: Janboe Ye <[email protected]> Date: Sat, 22 Feb 2020 04:00:39 +0800 Subject: [PATCH] dsm: add missing I/O error handling Signed-off-by: Janboe Ye <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6768b65d2e637a14ede81a25a44424e47a9c792f --- modules/access/dsm/access.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c index 14db6c1817..dfa390cb7a 100644 --- a/modules/access/dsm/access.c +++ b/modules/access/dsm/access.c @@ -524,6 +524,8 @@ static ssize_t Read( stream_t *p_access, void *p_buffer, size_t i_len ) if( i_read < 0 ) { msg_Err( p_access, "read failed" ); + if (errno != EINTR && errno != EAGAIN) + return 0; return -1; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
