OSDN Git Service

add back in code cut by previous commit to fix the pathconf test
authorMike Frysinger <vapier@gentoo.org>
Sat, 11 Feb 2006 04:26:50 +0000 (04:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 11 Feb 2006 04:26:50 +0000 (04:26 -0000)
libc/unistd/pathconf.c

index 8d6e7ba..8e3c0a3 100644 (file)
@@ -35,6 +35,11 @@ libc_hidden_proto(statfs)
 libc_hidden_proto(stat)
 
 
+/* The Linux kernel headers mention this as a kind of generic value. */
+#ifndef LINK_MAX
+# define LINK_MAX 127
+#endif
+
 /* Get file-specific information about PATH.  */
 long int
 pathconf (const char *path, int name)