From: <li...@ba...> - 2008-08-19 21:09:39
|
Hi! Bastien Nocera "ha...@ha..." wrote: > On Tue, 2008-08-19 at 22:20 +0200, Christoph Bartelmus wrote: > <snip> >> Currently lircd will exit if the device is not available and the 1st >> client connects. >> >> If a client already is connected and the device becomes unavailable, the >> 2nd client will be able to connect without any problem. >> >> This is kind of inconsistent and I would propose to change the code that >> the 1st client will be able connect regardless whether the device can be >> opened or not. > So we should make sure that lircd always keeps running, and never > disconnects whether the backing device is available or not. Is that > correct? > > Removing that whole chunk of code around the patch I proposed at the > beginning of the thread should fix the problem. Is that what you would > want? If so, I'll make a patch and test it tomorrow. Yes, that's what I currently have in mind if somebody does not find any good arguments against it. Christoph |