diff options
author | Roland McGrath <roland@gnu.org> | 2002-10-16 22:09:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-10-16 22:09:42 +0000 |
commit | 0d83b42e2d59b722a66c7e3fed50437a647ed4ee (patch) | |
tree | e5f076619fbeeed4bf552f418a1f84ab56de76c5 /sysdeps/unix/sysv/linux/linux_fsinfo.h | |
parent | f977f8e52003aae1cf295c05d485d62b75ffbaab (diff) | |
download | glibc-0d83b42e2d59b722a66c7e3fed50437a647ed4ee.tar.gz glibc-0d83b42e2d59b722a66c7e3fed50437a647ed4ee.tar.xz glibc-0d83b42e2d59b722a66c7e3fed50437a647ed4ee.zip |
2002-10-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ... * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here. * sysdeps/unix/sysv/linux/pathconf.h: New file. (statfs_link_max): New function, guts from fpathconf.c. * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten to use the linux/pathconf.c code by #include rather than duplication. * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/linux_fsinfo.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/linux_fsinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h index 60b4721e10..8aa7e28c7c 100644 --- a/sysdeps/unix/sysv/linux/linux_fsinfo.h +++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h @@ -115,4 +115,8 @@ #define XENIX_LINK_MAX 126 /* ?? */ #define XFS_LINK_MAX 2147483647 +/* The Linux kernel header mentioned this as a kind of generic value. */ +#define LINUX_LINK_MAX 127 + + #endif /* linux_fsinfo.h */ |