From: Roland McGrath Date: Sun, 25 Mar 2012 19:01:29 +0000 (-0700) Subject: Fix last change. X-Git-Tag: glibc-2.16-tps~713 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6a403f953fe80f40761023af9a8b7824752bb32;p=platform%2Fupstream%2Fglibc.git Fix last change. --- diff --git a/posix/confstr.c b/posix/confstr.c index ad8fea9..cad6561 100644 --- a/posix/confstr.c +++ b/posix/confstr.c @@ -33,9 +33,10 @@ confstr (name, buf, len) { const char *string = ""; size_t string_len = 1; + + /* Note that this buffer must be large enough for the longest strings + used below. */ char restenvs[4 * sizeof "POSIX_V7_LPBIG_OFFBIG"]; - char restenvs[4 * sizeof "POSIX_V6_LPBIG_OFFBIG"]; - char restenvs[4 * sizeof "XBS5_LPBIG_OFFBIG"]; switch (name) {