Skip to content

Commit

Permalink
Handle POSIX2_LINE_MAX in getconf.
Browse files Browse the repository at this point in the history
(cherry picked from commit d76da20)
  • Loading branch information
Ulrich Drepper authored and Petr Baudis committed Sep 18, 2009
1 parent a4a10e2 commit 3615766
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions posix/getconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 3615766

Please sign in to comment.