about summary refs log tree commit diff
path: root/posix/getconf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-09-07 00:18:06 -0700
committerUlrich Drepper <drepper@redhat.com>2009-09-07 00:18:06 -0700
commitd76da20f7f77e9dfc7e81ebaf0f9902699a873e8 (patch)
tree5857aa2983d2463b8c0cfad7b1fbd476e0cbe51f /posix/getconf.c
parent4c14c8c348ee3e9a5fea3608cabcabdb275b6141 (diff)
downloadglibc-d76da20f7f77e9dfc7e81ebaf0f9902699a873e8.tar.gz
glibc-d76da20f7f77e9dfc7e81ebaf0f9902699a873e8.tar.xz
glibc-d76da20f7f77e9dfc7e81ebaf0f9902699a873e8.zip
Handle POSIX2_LINE_MAX in getconf.
Diffstat (limited to 'posix/getconf.c')
-rw-r--r--posix/getconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/getconf.c b/posix/getconf.c
index c9e1300e49..facf5b08f5 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 },