From fb25b1356ae6a0b2d27a307091ad4f384814cc77 Mon Sep 17 00:00:00 2001 From: TAMUKI Shoichi Date: Mon, 11 Feb 2019 12:13:55 +0900 Subject: [PATCH] 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. --- ChangeLog | 4 ++++ time/strftime_l.c | 6 +++--- 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 + + * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies. + 2019-02-08 Joseph Myers * 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; -- 2.7.4