svn commit: trunk/uClibc/libc/unistd

vapier at uclibc.org vapier at uclibc.org
Sat Feb 11 04:26:53 UTC 2006


Author: vapier
Date: 2006-02-10 20:26:50 -0800 (Fri, 10 Feb 2006)
New Revision: 13908

Log:
add back in code cut by previous commit to fix the pathconf test

Modified:
   trunk/uClibc/libc/unistd/pathconf.c


Changeset:
Modified: trunk/uClibc/libc/unistd/pathconf.c
===================================================================
--- trunk/uClibc/libc/unistd/pathconf.c	2006-02-11 04:08:38 UTC (rev 13907)
+++ trunk/uClibc/libc/unistd/pathconf.c	2006-02-11 04:26:50 UTC (rev 13908)
@@ -35,6 +35,11 @@
 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)




More information about the uClibc-cvs mailing list