From 10c3cdac03aa3ccbeb00ba96b237c69db831364f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 11 Apr 2018 23:22:33 -0500 Subject: sysconf: Add _SC_XOPEN_UUCP We definitely don't /support/ UUCP, so return -1 for it. But this value is required to be present in . --- src/conf/sysconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 60d3e745..20d91de7 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -168,9 +168,9 @@ long sysconf(int name) [_SC_XOPEN_STREAMS] = JT_ZERO, [_SC_THREAD_ROBUST_PRIO_INHERIT] = -1, [_SC_THREAD_ROBUST_PRIO_PROTECT] = -1, - [_SC_MINSIGSTKSZ] = JT_MINSIGSTKSZ, [_SC_SIGSTKSZ] = JT_SIGSTKSZ, + [_SC_XOPEN_UUCP] = -1, }; if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) { -- cgit v1.2.3-70-g09d2