projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26fe137
)
(my_strftime): Let the `-' (no-pad) flag affect
author
Jim Meyering
<jim@meyering.net>
Mon, 12 May 2003 08:20:29 +0000
(08:20 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 12 May 2003 08:20:29 +0000
(08:20 +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 cf76c1f5e38e147ecb0f42264a1813cacfae7594..1adcaa4ba469b63a8232dfc52e095e59c14b50be 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: