Date: Sun, 17 Jun 2012 21:40:13 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r237211 - head/lib/libc/stdtime Message-ID: <201206172140.q5HLeDHo034376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206172140.q5HLeDHo034376>