projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix code path where child function returns in arm __clone built as thumb
[musl]
/
src
/
conf
/
fpathconf.c
diff --git
a/src/conf/fpathconf.c
b/src/conf/fpathconf.c
index
28c4345
..
e6aca5c
100644
(file)
--- a/
src/conf/fpathconf.c
+++ b/
src/conf/fpathconf.c
@@
-24,10
+24,10
@@
long fpathconf(int fd, int name)
[_PC_REC_MIN_XFER_SIZE] = 4096,
[_PC_REC_XFER_ALIGN] = 4096,
[_PC_ALLOC_SIZE_MIN] = 4096,
[_PC_REC_MIN_XFER_SIZE] = 4096,
[_PC_REC_XFER_ALIGN] = 4096,
[_PC_ALLOC_SIZE_MIN] = 4096,
- [_PC_SYMLINK_MAX] =
SYMLINK_MAX
,
+ [_PC_SYMLINK_MAX] =
-1
,
[_PC_2_SYMLINKS] = 1
};
[_PC_2_SYMLINKS] = 1
};
- if (name > sizeof(values)/sizeof(values[0])) {
+ if (name >
=
sizeof(values)/sizeof(values[0])) {
errno = EINVAL;
return -1;
}
errno = EINVAL;
return -1;
}