Date: Tue, 27 Dec 2011 23:28:01 +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: r228921 - head/lib/libc/locale Message-ID: <201112272328.pBRNS1OQ073344@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Tue Dec 27 23:28:01 2011 New Revision: 228921 URL: http://svn.freebsd.org/changeset/base/228921 Log: libc: Eliminate some relative relocations in setlocale(). Modified: head/lib/libc/locale/setlocale.c Modified: head/lib/libc/locale/setlocale.c ============================================================================== --- head/lib/libc/locale/setlocale.c Tue Dec 27 22:14:35 2011 (r228920) +++ head/lib/libc/locale/setlocale.c Tue Dec 27 23:28:01 2011 (r228921) @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$"); /* * Category names for getenv() */ -static char *categories[_LC_LAST] = { +static const char categories[_LC_LAST][12] = { "LC_ALL", "LC_COLLATE", "LC_CTYPE",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112272328.pBRNS1OQ073344>