From patchwork Fri Dec 11 16:58:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 9983 Received: (qmail 8114 invoked by alias); 11 Dec 2015 16:58:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 7349 invoked by uid 89); 11 Dec 2015 16:58:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_50, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com From: "Steve Ellcey " Date: Fri, 11 Dec 2015 08:58:14 -0800 To: Subject: [Patch] Indentation change to fix build with latest GCC User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Message-ID: <0a24798f-042e-4b53-86e2-68d062c9adbf@BAMAIL02.ba.imgtec.org> GCC has added the -Wmisleading-indentation warning to -Wall and that is breaking the GLIBC build when using the latest GCC. Here is the first failure I ran into. It looks like the indentation is wrong so I am going to check this in as obvious. There will be more to follow and if they also look like obvious indentation issues I will check those in as well (and send email to the list describing the patches as I do so). Let me know if anyone has a problem with these checkins. Steve Ellcey sellcey@imgtec.com 2015-12-11 Steve Ellcey * stdlib/strtol_l.c (__strtol_l): Fix indentation. diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c index 392b31a..1efa193 100644 --- a/stdlib/strtol_l.c +++ b/stdlib/strtol_l.c @@ -351,8 +351,8 @@ INTERNAL (__strtol_l) (const STRING_TYPE *nptr, STRING_TYPE **endptr, && (wchar_t) c != thousands # else && ({ for (cnt = 0; cnt < thousands_len; ++cnt) - if (thousands[cnt] != end[cnt]) - break; + if (thousands[cnt] != end[cnt]) + break; cnt < thousands_len; }) # endif && (!ISALPHA (c)