Fix last change.
authorRoland McGrath <roland@hack.frob.com>
Sun, 25 Mar 2012 19:01:29 +0000 (12:01 -0700)
committerRoland McGrath <roland@hack.frob.com>
Sun, 25 Mar 2012 19:01:29 +0000 (12:01 -0700)
posix/confstr.c

index ad8fea9..cad6561 100644 (file)
@@ -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)
     {