diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-16 10:14:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-16 10:14:00 +0000 |
commit | 916687a6c8e0d3c00406c08a3a581998e05d88c3 (patch) | |
tree | 06e78e93e447069ce99d41a6c939b46f12bb5457 | |
parent | 88fd9830347fab598a85c7edbc19ef646d87b3a8 (diff) | |
download | glibc-916687a6c8e0d3c00406c08a3a581998e05d88c3.zip glibc-916687a6c8e0d3c00406c08a3a581998e05d88c3.tar.gz glibc-916687a6c8e0d3c00406c08a3a581998e05d88c3.tar.bz2 |
1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
__USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
-rw-r--r-- | sysdeps/mach/hurd/bits/local_lim.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/bits/local_lim.h b/sysdeps/mach/hurd/bits/local_lim.h index e26aa24..03d0756 100644 --- a/sysdeps/mach/hurd/bits/local_lim.h +++ b/sysdeps/mach/hurd/bits/local_lim.h @@ -1,5 +1,5 @@ /* Minimum guaranteed maximum values for system limits. Hurd version. - Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 94, 96, 98 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 @@ -32,8 +32,10 @@ /* The maximum number of symbolic links that are allowed in a single file name resolution. When a further link is encountered, the call returns ELOOP. This name is a GNU extension; POSIX.1 has no such limit, and BSD - calls it MAXSYMLINKS in <sys/param.h>. */ + calls it MAXSYMLINKS in <sys/param.h>. (We define the name under + _BSD_SOURCE even without _GNU_SOURCE because our <sys/param.h> uses it + to define MAXSYMLINKS.) */ -#ifdef __USE_GNU /* 1003.1a defines this */ +#if defined __USE_GNU || defined __USE_BSD /* 1003.1a defines this */ #define SYMLOOP_MAX 8 #endif |