about summary refs log tree commit diff
path: root/posix/getconf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-14 06:28:45 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-14 06:28:45 +0000
commit564cd8b67ec487fe090c8ead2fb93be91959985d (patch)
treea45ad932a67e2684648c3065026c66166006827e /posix/getconf.c
parent59b28a2e4b51c293025c157c62bfc27b633aee19 (diff)
downloadglibc-564cd8b67ec487fe090c8ead2fb93be91959985d.tar.gz
glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.tar.xz
glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.zip
Update.
2003-03-13  Ulrich Drepper  <drepper@redhat.com>

	* posix/getconf.c: Recognize POSIX2_SYMLINKS.
	* sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
	* sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
	* sysdeps/posix/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.

	* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
	words.
Diffstat (limited to 'posix/getconf.c')
-rw-r--r--posix/getconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/getconf.c b/posix/getconf.c
index e687225434..afe36018ce 100644
--- a/posix/getconf.c
+++ b/posix/getconf.c
@@ -865,6 +865,9 @@ static const struct conf vars[] =
 #ifdef _CS_GNU_LIBPTHREAD_VERSION
     { "GNU_LIBPTHREAD_VERSION", _CS_GNU_LIBPTHREAD_VERSION, CONFSTR },
 #endif
+#ifdef _PC_2_SYMLINKS
+    { "POSIX2_SYMLINKS", _PC_2_SYMLINKS, PATHCONF },
+#endif
 
     { NULL, 0, SYSCONF }
   };