diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-03-25 12:01:29 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-03-25 12:01:29 -0700 |
commit | d6a403f953fe80f40761023af9a8b7824752bb32 (patch) | |
tree | 60548851dd17080219e93909939f853d7f8d0f9b /posix/confstr.c | |
parent | ac4c54f0cce8bb20c100a4c1041f3aa3e7d6cd0a (diff) | |
download | glibc-d6a403f953fe80f40761023af9a8b7824752bb32.tar.gz |
Fix last change.
Diffstat (limited to 'posix/confstr.c')
-rw-r--r-- | posix/confstr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/confstr.c b/posix/confstr.c index ad8fea9b28..cad65615ad 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) { |