فهرست منبع

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

Mike Frysinger 19 سال پیش
والد
کامیت
016070bcbd
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      libc/unistd/pathconf.c

+ 5 - 0
libc/unistd/pathconf.c

@@ -35,6 +35,11 @@ libc_hidden_proto(statfs)
 libc_hidden_proto(stat)
 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.  */
 /* Get file-specific information about PATH.  */
 long int
 long int
 pathconf (const char *path, int name)
 pathconf (const char *path, int name)