projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(read_filesystem_list): Remove all_fs
[gnulib.git]
/
lib
/
strftime.c
diff --git
a/lib/strftime.c
b/lib/strftime.c
index
5201a87
..
4e6407a
100644
(file)
--- a/
lib/strftime.c
+++ b/
lib/strftime.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991,
92, 93, 94, 95, 96, 97
Free Software Foundation, Inc.
+/* Copyright (C) 1991,
92,93,94,95,96,97,98
Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@
-490,7
+490,7
@@
my_strftime (s, maxsize, format, tp)
for (f = format; *f != '\0'; ++f)
{
for (f = format; *f != '\0'; ++f)
{
- int pad
;
/* Padding for number ('-', '_', or 0). */
+ 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 modifier; /* Field modifier ('E', 'O', or 0). */
int digits; /* Max digits for numeric format. */
int number_value; /* Numeric value to be printed. */
@@
-580,7
+580,6
@@
my_strftime (s, maxsize, format, tp)
#endif /* ! DO_MULTIBYTE */
/* Check for flags that can modify a format. */
#endif /* ! DO_MULTIBYTE */
/* Check for flags that can modify a format. */
- pad = 0;
while (1)
{
switch (*++f)
while (1)
{
switch (*++f)