From a1ddd49b0461c94aa7775008cf40bd0d5f5ec55e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 13 Mar 2019 09:45:31 -0500 Subject: fpathconf: use -1 for _PC_LINK_MAX --- src/conf/fpathconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3-60-g2f50