projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5faf1b
)
fix breakage in last commit to strftime due to missing INT_MAX
author
Rich Felker
<dalias@aerifal.cx>
Fri, 28 Jun 2013 16:12:55 +0000
(12:12 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 28 Jun 2013 16:12:55 +0000
(12:12 -0400)
that's what I get for changing a hard-coded threshold to a proper
non-magic-number without testing.
src/time/strftime.c
patch
|
blob
|
history
diff --git
a/src/time/strftime.c
b/src/time/strftime.c
index ab1c6dcf52029de18a5cb77e08d35d4bef1a03f0..b60197df28a19c2dee757dfdaa01f1119d9f5223 100644
(file)
--- a/
src/time/strftime.c
+++ b/
src/time/strftime.c
@@
-2,6
+2,7
@@
#include <stdlib.h>
#include <langinfo.h>
#include <time.h>
+#include <limits.h>
#include "__time.h"
// FIXME: integer overflows