diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-13 09:45:31 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-05-05 21:21:39 -0500 |
commit | a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e (patch) | |
tree | 07d1aac9847acf3fba116ba6ae66b0abfa1bd572 /src/conf | |
parent | f3d1279bfa2626811cd4a8c6f603dde46d29aba5 (diff) | |
download | musl-a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e.tar.gz musl-a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e.tar.bz2 musl-a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e.tar.xz musl-a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e.zip |
fpathconf: use -1 for _PC_LINK_MAX
Diffstat (limited to 'src/conf')
-rw-r--r-- | src/conf/fpathconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/fpathconf.c b/src/conf/fpathconf.c index b6a9d63e..83e47e87 100644 --- a/src/conf/fpathconf.c +++ b/src/conf/fpathconf.c @@ -5,7 +5,7 @@ long fpathconf(int fd, int name) { static const long values[] = { - [_PC_LINK_MAX] = _POSIX_LINK_MAX, + [_PC_LINK_MAX] = -1, [_PC_MAX_CANON] = _POSIX_MAX_CANON, [_PC_MAX_INPUT] = _POSIX_MAX_INPUT, [_PC_NAME_MAX] = NAME_MAX, |