summaryrefslogtreecommitdiff
path: root/dmxdev.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dmxdev.c.diff')
-rw-r--r--dmxdev.c.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/dmxdev.c.diff b/dmxdev.c.diff
new file mode 100644
index 0000000..85672c0
--- /dev/null
+++ b/dmxdev.c.diff
@@ -0,0 +1,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);