[mythtv] [PATCH] RingBuffer.cpp open return value

David George david at thegeorges.us
Sun Oct 17 03:50:22 UTC 2004


Attached is a patch to change if (!fd2) to if (fd2 < 0).

If open fails it returns -1 otherwise it returns the opened file descriptor.

--
David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ringbuffer.diff
Type: text/x-patch
Size: 1781 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041016/9134545d/ringbuffer.bin


More information about the mythtv-dev mailing list