From b706f65f6c023c4274c6176ab4a94d72eaeb91ce Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 25 Jan 2011 13:39:37 +0000 Subject: [PATCH] Fix truncated patch --- vlc-backport-lirc_fix.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vlc-backport-lirc_fix.patch b/vlc-backport-lirc_fix.patch index e059128..3f2d5f3 100644 --- a/vlc-backport-lirc_fix.patch +++ b/vlc-backport-lirc_fix.patch @@ -16,9 +16,9 @@ index aee33c3..e8c4780 100644 #include #ifdef HAVE_CONFIG_H -@@ -154,10 +155,12 @@ static void Run( intf_thread_t *p_intf ) +@@ -154,10 +155,12 @@ /* Wait for data */ - struct pollfd ufd = { .fd = p_sys->i_fd, .events = POLLIN, .revents = 0 + struct pollfd ufd = { .fd = p_sys->i_fd, .events = POLLIN, .revents = 0 }; if( poll( &ufd, 1, -1 ) == -1 ) + { if( errno == EINTR ) @@ -28,3 +28,4 @@ index aee33c3..e8c4780 100644 + } /* Process */ + int canc = vlc_savecancel();