[linux-dvb] [PATCH] fix bug in front-end ioctl

Andrew de Quincey adq_dvb at lidskialf.net
Fri May 26 20:53:24 CEST 2006


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.




More information about the linux-dvb mailing list