mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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.
This commit is contained in:
parent
32ea729996
commit
fb25b1356a
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user