Re: [PATCH] fix bug in front-end ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 26 May 2006 18:48, Trent Piepho wrote:
> When someone added the front-end ioctl FE_SET_FRONTEND_TUNE_MODE, they
> forgot to set the return value to 0.  It always returns EOPNOTSUPP,
> causing problems for programmers who actually check for error conditions.
>
> It's amazing that a bug like this could go so long unnoticed.  Am I
> the only programmer who bothers to check if their ioctls() fail?

I think no one has actually tried it properly before or else it would have 
been spotted by now.

Thanks for the patch.


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux