mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Define LINUX_LINK_MAX and use it instead of LINK_MAX.
This commit is contained in:
parent
46a26d4506
commit
a504f07154
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user