summaryrefslogtreecommitdiff
path: root/dmxdev.c.diff
blob: 85672c0fcc6e7200e763ab0eabb5524950ac94a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- dmxdev.c	Mon Apr  1 10:59:46 2002
+++ dmxdev.c	Sun Jun 16 11:02:38 2002
@@ -1048,6 +1048,9 @@
 		if (dmxdev->dvr_buffer.pread!=dmxdev->dvr_buffer.pwrite)
 			return (POLLIN | POLLRDNORM | POLLPRI);
 		
+                if (dmxdev->dvr_buffer.error)
+	                return (POLLIN | POLLRDNORM | POLLPRI | POLLERR);
+
 		return 0;
 	} else 
 	        return (POLLOUT | POLLWRNORM | POLLPRI);