1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

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.
This commit is contained in:
Roland McGrath
2002-10-16 22:09:42 +00:00
parent f977f8e520
commit 0d83b42e2d
6 changed files with 123 additions and 260 deletions

View File

@ -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 */