OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc17e6
)
add back in code cut by previous commit to fix the pathconf test
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 11 Feb 2006 04:26:50 +0000
(
04:26
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 11 Feb 2006 04:26:50 +0000
(
04:26
-0000)
libc/unistd/pathconf.c
patch
|
blob
|
history
diff --git
a/libc/unistd/pathconf.c
b/libc/unistd/pathconf.c
index
8d6e7ba
..
8e3c0a3
100644
(file)
--- a/
libc/unistd/pathconf.c
+++ b/
libc/unistd/pathconf.c
@@
-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)