projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2a67a
)
(my_strftime): Let the `-' (no-pad) flag affect
author
Jim Meyering
<jim@meyering.net>
Mon, 12 May 2003 08:19:05 +0000
(08:19 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 12 May 2003 08:19:05 +0000
(08:19 +0000)
the space-padded-by-default conversion specifiers, %e, %k, %l.
lib/strftime.c
patch
|
blob
|
history
diff --git
a/lib/strftime.c
b/lib/strftime.c
index 3600793ef531e86a93837a473e618e1b210614f6..52e84e322ac306bc35f2e36b61d16a0de7497ace 100644
(file)
--- a/
lib/strftime.c
+++ b/
lib/strftime.c
@@
-987,8
+987,8
@@
my_strftime (s, maxsize, format, tp extra_args LOCALE_PARAM)
jump to one of these two labels. */
do_number_spacepad:
- /* Force `_' flag unless over
written by `0
' flag. */
- if (pad != L_('0'))
+ /* Force `_' flag unless over
ridden by `0' or `-
' flag. */
+ if (pad != L_('0')
&& pad != L_('-')
)
pad = L_('_');
do_number: