From d6a403f953fe80f40761023af9a8b7824752bb32 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 25 Mar 2012 12:01:29 -0700 Subject: [PATCH] Fix last change. --- posix/confstr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.7.4