[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r17815 - in /trunk/libc: ChangeLog.eglibc posix/cross-getconf.c



Author: joseph
Date: Wed Mar 28 23:09:35 2012
New Revision: 17815

Log:
	* posix/cross-getconf.c (cross_getconf): Update after last merge.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/posix/cross-getconf.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Wed Mar 28 23:09:35 2012
@@ -1,3 +1,7 @@
+2012-03-28  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* posix/cross-getconf.c (cross_getconf): Update after last merge.
+
 2012-03-21  Thomas Schwinge  <thomas@xxxxxxxxxxxxxxxx>
 
 	* elf/Makefile ($(objpfx)tst-unused-dep.out): Run through the

Modified: trunk/libc/posix/cross-getconf.c
==============================================================================
--- trunk/libc/posix/cross-getconf.c (original)
+++ trunk/libc/posix/cross-getconf.c Wed Mar 28 23:09:35 2012
@@ -93,6 +93,10 @@
   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"];
+
   switch (name)
     {
 #include "confstr.inc"

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits