diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-08 10:00:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-08 10:00:47 +0000 |
commit | a504f071544faf0de924ac8566c8236a86eb3119 (patch) | |
tree | 34466a9540ace30682ac3494b86700d1524a44cc /sysdeps/unix/sysv | |
parent | 46a26d4506f3568d91643bb9a0b945c8268c1b84 (diff) | |
download | glibc-a504f071544faf0de924ac8566c8236a86eb3119.tar.gz glibc-a504f071544faf0de924ac8566c8236a86eb3119.tar.xz glibc-a504f071544faf0de924ac8566c8236a86eb3119.zip |
Define LINUX_LINK_MAX and use it instead of LINK_MAX.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/pathconf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c index cf132c3140..98b69c0cd6 100644 --- a/sysdeps/unix/sysv/linux/pathconf.c +++ b/sysdeps/unix/sysv/linux/pathconf.c @@ -1,5 +1,5 @@ /* Linux specific extensions to pathconf. - Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1991, 95, 96, 98, 99, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,6 +23,10 @@ #include "linux_fsinfo.h" + +/* The Linux kernel header mentioned this as a kind of generic value. */ +#define LINUX_LINK_MAX 127 + static long int posix_pathconf (const char *path, int name); @@ -72,7 +76,7 @@ __pathconf (path, name) return REISERFS_LINK_MAX; default: - return LINK_MAX; + return LINUX_LINK_MAX; } } |