aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAMUKI Shoichi <tamuki@linet.gr.jp>2019-02-11 12:13:55 +0900
committerTAMUKI Shoichi <tamuki@linet.gr.jp>2019-02-11 12:13:55 +0900
commitfb25b1356ae6a0b2d27a307091ad4f384814cc77 (patch)
tree4f32a3394c94007eeab9787d155954f00336e4e2
parent32ea72999693b98e41172e42256cda65dfda7838 (diff)
downloadglibc-fb25b1356ae6a0b2d27a307091ad4f384814cc77.zip
glibc-fb25b1356ae6a0b2d27a307091ad4f384814cc77.tar.gz
glibc-fb25b1356ae6a0b2d27a307091ad4f384814cc77.tar.bz2
Fix a few whitespace arrangement inconsistencies in time/strftime_l.c
Having checked the arrangement of whitespace in time/strftime_l.c using "unexpand" and "unexpand -a" command, three inconsistencies are detected. So fix them for consistency. ChangeLog: * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
-rw-r--r--ChangeLog4
-rw-r--r--time/strftime_l.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 07560f9..f12f435 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
+
+ * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
+
2019-02-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/bits/mathinline.h: Remove.
diff --git a/time/strftime_l.c b/time/strftime_l.c
index cb3b8d3..98c35d5 100644
--- a/time/strftime_l.c
+++ b/time/strftime_l.c
@@ -562,7 +562,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format,
int pad = 0; /* Padding for number ('-', '_', or 0). */
int modifier; /* Field modifier ('E', 'O', or 0). */
int digits; /* Max digits for numeric format. */
- int number_value; /* Numeric value to be printed. */
+ int number_value; /* Numeric value to be printed. */
int negative_number; /* 1 if the number is negative. */
const CHAR_T *subfmt;
CHAR_T *bufp;
@@ -992,7 +992,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format,
do
*--bufp = u % 10 + L_('0');
while ((u /= 10) != 0);
- }
+ }
do_number_sign_and_padding:
if (negative_number)
@@ -1136,7 +1136,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format,
DO_NUMBER (2, tp->tm_sec);
case L_('s'): /* GNU extension. */
- {
+ {
struct tm ltm;
time_t t;