This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
[Hurd] MAXSYMLINKS
- To: libc-alpha@cygnus.com
- Subject: [Hurd] MAXSYMLINKS
- From: UCHIYAMA Yasushi <uch@nop.or.jp>
- Date: Thu, 17 Dec 1998 01:05:33 +0900
In glibc-2.0.106/sysdeps/mach/hurd/bits/local_lim.h,
| ELOOP. This name is a GNU extension; POSIX.1 has no such limit, and BSD
| calls it MAXSYMLINKS in <sys/param.h>. */
|
|#ifdef __USE_GNU /* 1003.1a defines this */
|#define SYMLOOP_MAX 8
|#endif
It should apply attached patch since _BSD_SOURCE doesn't define __USE_GNU .
---
UCHIYAMA Yasushi
uch@nop.or.jp
diff -ur glibc-2.0.106/sysdeps/mach/hurd/bits/local_lim.h glibc-2.0.106.orig/sysdeps/mach/hurd/bits/local_lim.h
--- glibc-2.0.106/sysdeps/mach/hurd/bits/local_lim.h Thu Dec 17 00:57:36 1998
+++ glibc-2.0.106.orig/sysdeps/mach/hurd/bits/local_lim.h Sat Jun 21 02:41:39 1997
@@ -34,6 +34,6 @@
ELOOP. This name is a GNU extension; POSIX.1 has no such limit, and BSD
calls it MAXSYMLINKS in <sys/param.h>. */
-#if defined(__USE_GNU) || defined(__USE_BSD) /* 1003.1a defines this */
+#ifdef __USE_GNU /* 1003.1a defines this */
#define SYMLOOP_MAX 8
#endif
Only in glibc-2.0.106/sysdeps/mach/hurd/bits/: local_lim.h~