projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac4c54f
)
Fix last change.
author
Roland McGrath
<roland@hack.frob.com>
Sun, 25 Mar 2012 19:01:29 +0000
(12:01 -0700)
committer
Roland McGrath
<roland@hack.frob.com>
Sun, 25 Mar 2012 19:01:29 +0000
(12:01 -0700)
posix/confstr.c
patch
|
blob
|
history
diff --git
a/posix/confstr.c
b/posix/confstr.c
index
ad8fea9
..
cad6561
100644
(file)
--- 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)
{