This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[Patch] Indentation change to fix build with latest GCC
- From: "Steve Ellcey " <sellcey at imgtec dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 11 Dec 2015 08:58:14 -0800
- Subject: [Patch] Indentation change to fix build with latest GCC
- Authentication-results: sourceware.org; auth=none
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 <sellcey@imgtec.com>
* 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)