projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb8c94
)
(my_strftime): Make code a bit clearer.
author
drepper
<drepper>
Wed, 18 Nov 1998 13:12:02 +0000
(13:12 +0000)
committer
drepper
<drepper>
Wed, 18 Nov 1998 13:12:02 +0000
(13:12 +0000)
time/strftime.c
patch
|
blob
|
history
diff --git
a/time/strftime.c
b/time/strftime.c
index
3e81d21
..
be7891d
100644
(file)
--- a/
time/strftime.c
+++ b/
time/strftime.c
@@
-1236,7
+1236,7
@@
my_strftime (s, maxsize, format, tp ut_argument)
}
}
- if (p &&
i < maxsize
)
+ if (p &&
maxsize != 0
)
*p = '\0';
return i;
}