[mythtv] [PATCH] HDTV device ringbuffer v1.0a (errno patch attached)

Kevin Kuphal kuphal at dls.net
Sat Jan 1 20:54:17 UTC 2005


John Pullan wrote:

>Seems to need errno.h as well (tiny patch attached)
>
>On Fri, 2004-12-31 at 18:18 -0500, Isaac Richards wrote:
>  
>
>>On Friday 31 December 2004 05:30 pm, John Patrick Poet wrote:
>>    
>>
>>>Found a race condition which could cause a segfault.  Could have sworn I
>>>already fixed this, but it was not in the patch I submitted on Dec 30th.
>>>
>>>Isaac, this patch is a replacement for the previous one I submitted.  If
>>>you want a diff between the previous one and this one, let  me know.
>>>      
>>>
>>Won't need one - haven't started applying patches yet.
>>
>>Isaac
>>_______________________________________________
>>mythtv-dev mailing list
>>mythtv-dev at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>    
>>
>>------------------------------------------------------------------------
>>
>>Index: dtvrecorder.cpp
>>===================================================================
>>RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dtvrecorder.cpp,v
>>retrieving revision 1.3
>>diff -u -r1.3 dtvrecorder.cpp
>>--- dtvrecorder.cpp	1 Jan 2005 06:16:17 -0000	1.3
>>+++ dtvrecorder.cpp	1 Jan 2005 10:27:32 -0000
>>@@ -7,6 +7,7 @@
>>  */
>> 
>> #include <cassert>
>>+#include <errno.h>
>> 
>> using namespace std;
>>    
>>
I'm getting an undefined usleep when I try to compile.  I added #include 
<unistd.h> to the same file and it compiled fine here.  I did not need 
errno.h

Kevin



More information about the mythtv-dev mailing list