Handle POSIX2_LINE_MAX in getconf.

This commit is contained in:
Ulrich Drepper 2009-09-07 00:18:06 -07:00
parent 4c14c8c348
commit d76da20f7f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-09-07 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to
_POSIX2_LINE_MAX.
2009-09-04 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Support binutils 2.20.

View File

@ -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 },