[mythtv-commits] Ticket #806: short circuit if passed fd is invalid
in RingBuffer::safe_read()
MythTV
mythtv at cvs.mythtv.org
Tue Dec 13 22:19:30 EST 2005
#806: short circuit if passed fd is invalid in RingBuffer::safe_read()
----------------------------------------+-----------------------------------
Reporter: jwestfall at surrealistic.net | Owner: ijr
Type: patch | Status: new
Priority: trivial | Milestone:
Component: mythtv | Version: head
Severity: low |
----------------------------------------+-----------------------------------
patch adds a short circuit to RingBuffer::safe_read(int, void*, uint) when
the passed fd is invalid. No point in wasting time trying to read() from
the fd multiple times. I run into this when firewire creates 0 byte files
from not being able to pull data from the STB.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/806>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list