This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Hurd] MAXSYMLINKS


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]