From patchwork Mon Jun 2 15:41:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 1235 Received: (qmail 14450 invoked by alias); 2 Jun 2014 15:41:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 14394 invoked by uid 89); 2 Jun 2014 15:41:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 02 Jun 2014 15:41:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8D1DE116206 for ; Mon, 2 Jun 2014 11:41:20 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ybX3XDCGam8G for ; Mon, 2 Jun 2014 11:41:20 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 5CB861161F9 for ; Mon, 2 Jun 2014 11:41:20 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 0102F40E72; Mon, 2 Jun 2014 08:41:20 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed] Remove some trailing spaces in source.c Date: Mon, 2 Jun 2014 08:41:18 -0700 Message-Id: <1401723679-11653-1-git-send-email-brobecker@adacore.com> Hello, Just some annoying trailing spaces I just happened to notice while working on that function... gdb/ChangeLog: * source.c (substitute_path_rule_matches): Remove trailing spaces. Tested on x86_64-linux. Pushed. Thanks, diff --git a/gdb/source.c b/gdb/source.c index c77a4f4..cb05939 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -952,7 +952,7 @@ substitute_path_rule_matches (const struct substitute_path_rule *rule, /* Make sure that the region in the path that matches the substitution rule is immediately followed by a directory separator (or the end of string character). */ - + if (path[from_len] != '\0' && !IS_DIR_SEPARATOR (path[from_len])) return 0;