From: Ulrich Drepper Date: Mon, 7 Sep 2009 07:18:06 +0000 (-0700) Subject: Handle POSIX2_LINE_MAX in getconf. X-Git-Tag: upstream/2.30~13296 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d76da20f7f77e9dfc7e81ebaf0f9902699a873e8;p=external%2Fglibc.git Handle POSIX2_LINE_MAX in getconf. --- diff --git a/ChangeLog b/ChangeLog index 8cb983d..a0ed5d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-07 Ulrich Drepper + + * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to + _POSIX2_LINE_MAX. + 2009-09-04 H.J. Lu * configure.in: Support binutils 2.20. diff --git a/posix/getconf.c b/posix/getconf.c index c9e1300..facf5b0 100644 --- a/posix/getconf.c +++ b/posix/getconf.c @@ -484,6 +484,7 @@ static const struct conf vars[] = #endif #ifdef _SC_LINE_MAX { "_POSIX2_LINE_MAX", _SC_LINE_MAX, SYSCONF }, + { "POSIX2_LINE_MAX", _SC_LINE_MAX, SYSCONF }, #endif #ifdef _SC_2_LOCALEDEF { "POSIX2_LOCALEDEF", _SC_2_LOCALEDEF, SYSCONF },