svn commit: r237211 - head/lib/libc/stdtime
Jilles Tjoelker
jilles at FreeBSD.org
Sun Jun 17 21:40:13 UTC 2012
Author: jilles
Date: Sun Jun 17 21:40:13 2012
New Revision: 237211
URL: http://svn.freebsd.org/changeset/base/237211
Log:
libc: Reduce relative relocations in strftime().
Modified:
head/lib/libc/stdtime/strftime.c
Modified: head/lib/libc/stdtime/strftime.c
==============================================================================
--- head/lib/libc/stdtime/strftime.c Sun Jun 17 21:39:40 2012 (r237210)
+++ head/lib/libc/stdtime/strftime.c Sun Jun 17 21:40:13 2012 (r237211)
@@ -67,7 +67,7 @@ extern char * tzname[];
#define PAD_SPACE 2
#define PAD_ZERO 3
-static const char* fmt_padding[][4] = {
+static const char fmt_padding[][4][5] = {
/* DEFAULT, LESS, SPACE, ZERO */
#define PAD_FMT_MONTHDAY 0
#define PAD_FMT_HMS 0
More information about the svn-src-all
mailing list