From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29342 invoked by alias); 21 Sep 2013 09:05:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 29330 invoked by uid 89); 21 Sep 2013 09:05:38 -0000 Received: from sucker.pilsfree.net (HELO sucker.cz) (78.108.108.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 21 Sep 2013 09:05:38 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-HELO: sucker.cz Received: from localhost (localhost [127.0.0.1]) by sucker.cz (Postfix) with ESMTP id B118F370C002 for ; Sat, 21 Sep 2013 11:05:35 +0200 (CEST) Received: from sucker.cz ([127.0.0.1]) by localhost (sucker.pilsfree.czf [127.0.0.1]) (amavisd-new, port 10026) with LMTP id 6m6sip8FX+Ji for ; Sat, 21 Sep 2013 11:05:35 +0200 (CEST) Received: from [10.0.1.8] (bendis.pilsfree.net [81.201.58.85]) by sucker.cz (Postfix) with ESMTPSA id 6ED0D370C001 for ; Sat, 21 Sep 2013 11:05:35 +0200 (CEST) From: Martin Benda Content-Type: multipart/mixed; boundary="Apple-Mail=_B5F978B9-9594-4A1E-95D9-144295378930" Subject: [PATCH] Fix compilation error in readline/util.c in environments with missing strcasecmp Message-Id: <04BF4C19-304E-4CEB-964B-06CEF63E3DCC@omsquare.com> Date: Sat, 21 Sep 2013 09:05:00 -0000 To: "gdb-patches@sourceware.org" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-SW-Source: 2013-09/txt/msg00786.txt.bz2 --Apple-Mail=_B5F978B9-9594-4A1E-95D9-144295378930 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Content-length: 764 Hi, when building GDB 7.6.1 in MinGW (Windows 7) for the arm-none-eabi target, = I got compilation error in readline/util.c:392 --- missing semicolon after = do { ... } while (...) loop. The attached patch fixes this trivial error. 2013-09-21 Martin Benda * readline/util.c: Add missing semicolon to fix compilation error in environments with missing strcasecmp (e.g. MinGW). diff -Naur gdb-7.6.1/readline/util.c dist-patched/gdb-7.6.1/readline/util.c --- gdb-7.6.1/readline/util.c 2013-09-21 09:28:03.000000000 +0200 +++ gdb-7.6.1-patched/readline/util.c 2013-09-21 09:41:12.000000000 +0200 @@ -389,7 +389,7 @@ break; s2++; } - while (--count !=3D 0) + while (--count !=3D 0); return (0); } Martin Benda --Apple-Mail=_B5F978B9-9594-4A1E-95D9-144295378930 Content-Disposition: attachment; filename=gdb-7.6.1.patch Content-Type: application/octet-stream; name="gdb-7.6.1.patch" Content-Transfer-Encoding: 7bit Content-length: 341 diff -Naur gdb-7.6.1/readline/util.c dist-patched/gdb-7.6.1/readline/util.c --- gdb-7.6.1/readline/util.c 2013-09-21 09:28:03.000000000 +0200 +++ gdb-7.6.1-patched/readline/util.c 2013-09-21 09:41:12.000000000 +0200 @@ -389,7 +389,7 @@ break; s2++; } - while (--count != 0) + while (--count != 0); return (0); } --Apple-Mail=_B5F978B9-9594-4A1E-95D9-144295378930 Content-Disposition: attachment; filename=changelog.txt Content-Type: text/plain; name="changelog.txt" Content-Transfer-Encoding: 7bit Content-length: 177 2013-09-21 Martin Benda * readline/util.c: Add missing semicolon to fix compilation error in environments with missing strcasecmp (e.g. MinGW). --Apple-Mail=_B5F978B9-9594-4A1E-95D9-144295378930--