On Sat, 2005-08-27 at 14:32 +0100, Stuart Auchterlonie wrote:
> On Sat, Aug 27, 2005 at 01:56:54PM +0100, Allan Stirling wrote:
> > >+        if (tmp_stat == FE_HAS_LOCK)
> > >+            return true;
> >  if (tmp_stat & FE_HAS_LOCK)
> >             return true;
> > Since the rest of the lock status isn't always 0...
> No that's correct.
> FE_READ_STATUS returns an fe_status_t which is only an enum.
We use enums all the time for flags.
And in fact FE_HAS_LOCK is used as flag elsewhere.

I committed your fallback for broken drivers with the
appropriate warning message & with Allan's fix.

-- Daniel

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to