summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-17 23:30:13 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-17 23:30:13 +0000
commitf9652c80ae06efdb9ddb35b6df96bcd44564136a (patch)
treedaef6aa4c13746e91da81673160d625762d195b0 /time
parent39dbc7be16987be6e1f0868d23fe92d7e8a25e84 (diff)
(memset_space): Increment pointer.
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 690cf2af0e..898bd6c98c 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -179,7 +179,7 @@ static const char spaces[16] = " ";
# define memset_space(P, Len) \
do { \
int _len = (Len); \
- \
+ \
do \
{ \
int _this = _len > 16 ? 16 : _len; \
@@ -190,7 +190,7 @@ static const char spaces[16] = " ";
while (_len > 0); \
} while (0)
#else
-# define memset_space(P, Len) memset ((P), ' ', (Len))
+# define memset_space(P, Len) (memset ((P), ' ', (Len)), (P) += (Len))
#endif
#define add(n, f) \