aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-03-25 12:01:29 -0700
committerRoland McGrath <roland@hack.frob.com>2012-03-25 12:01:29 -0700
commitd6a403f953fe80f40761023af9a8b7824752bb32 (patch)
tree60548851dd17080219e93909939f853d7f8d0f9b /posix
parentac4c54f0cce8bb20c100a4c1041f3aa3e7d6cd0a (diff)
downloadglibc-d6a403f953fe80f40761023af9a8b7824752bb32.zip
glibc-d6a403f953fe80f40761023af9a8b7824752bb32.tar.gz
glibc-d6a403f953fe80f40761023af9a8b7824752bb32.tar.bz2
Fix last change.
Diffstat (limited to 'posix')
-rw-r--r--posix/confstr.c5
1 files 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)
{