From patchwork Mon Feb 11 15:30:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Schmidinger X-Patchwork-Id: 16813 Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1U4vL2-00070K-3K; Mon, 11 Feb 2013 16:30:36 +0100 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1U4vKv-000708-Tu for vdr@linuxtv.org; Mon, 11 Feb 2013 16:30:33 +0100 X-tubIT-Incoming-IP: 188.40.50.18 Received: from racoon.tvdr.de ([188.40.50.18]) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtps [TLSv1:AES256-SHA:256] for id 1U4vKu-0002Rs-Cf; Mon, 11 Feb 2013 16:30:29 +0100 Received: from dolphin.tvdr.de (dolphin.tvdr.de [192.168.100.2]) by racoon.tvdr.de (8.14.5/8.14.5) with ESMTP id r1BFURl0020324 for ; Mon, 11 Feb 2013 16:30:27 +0100 Received: from [192.168.100.11] (falcon.tvdr.de [192.168.100.11]) by dolphin.tvdr.de (8.14.4/8.14.4) with ESMTP id r1BFUMDD018489 for ; Mon, 11 Feb 2013 16:30:22 +0100 Message-ID: <51190E8E.2060809@tvdr.de> Date: Mon, 11 Feb 2013 16:30:22 +0100 From: Klaus Schmidinger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 MIME-Version: 1.0 To: vdr@linuxtv.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.11.152121 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_600_699 0, BODY_SIZE_7000_LESS 0, NO_URI_FOUND 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0' X-LSpam-Score: 1.9 (+) X-LSpam-Report: No, score=1.9 required=5.0 tests=BAYES_00=-1.9, RDNS_NONE=0.793, TBIRD_SPOOF=3 autolearn=no Subject: [vdr] VDR 1.7.37: missing braces in lirc.c X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: vdr-bounces@linuxtv.org Errors-To: vdr-bounces@linuxtv.org I just found out that there are some curly braces missing in lirc.c: This caused an additional k_Repeat after a k_Release. Klaus --- lirc.c 2013/02/03 11:23:18 2.4 +++ lirc.c 2013/02/11 15:25:42 @@ -114,9 +114,10 @@ repeat = true; timeout = Delta * 10 / 9; } - if (pressed) + if (pressed) { LastTime.Set(); Put(KeyName, repeat); + } } else if (pressed && repeat) { // the last one was a repeat, so let's generate a release Put(LastKeyName, false, true);