Hi,

There appears to be a problem in DVB.cc::get_dvbrc()  when it tries to open
the default .dvbrc file. If the initial open fails, then after the ifstream
will have ios::failbit set. The second open will not clear this bit (at
least using linux Mandrake 9.0, which uses gcc 3.2) so the second open()
will also fail. It appears that libstdc++ has changed for gcc v3.x.

Insert the following code before the second dvbin.open() call, which will
clear all error bits.
dvbin.clear();

2233c2233
<                    dvbin.clear();
---
>


Regards

Pete Martin



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to