From e0f20dfa909e626728e65cfb4d2e06f02c84aaa3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 15 Mar 2019 11:00:12 -0500 Subject: getconf: POSIX2 options are not _-prefixed --- getconf/getconf.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/getconf/getconf.c b/getconf/getconf.c index fc707c6..9517925 100644 --- a/getconf/getconf.c +++ b/getconf/getconf.c @@ -264,21 +264,21 @@ const var_map_t sysconf_vars[] = { #endif /* POSIX.2 */ - { "_POSIX2_C_BIND", _SC_2_C_BIND }, - { "_POSIX2_C_DEV", _SC_2_C_DEV }, - { "_POSIX2_CHAR_TERM", _SC_2_CHAR_TERM }, - { "_POSIX2_FORT_DEV", _SC_2_FORT_DEV }, - { "_POSIX2_FORT_RUN", _SC_2_FORT_RUN }, - { "_POSIX2_LOCALEDEF", _SC_2_LOCALEDEF }, - { "_POSIX2_PBS", _SC_2_PBS }, - { "_POSIX2_PBS_ACCOUNTING", _SC_2_PBS_ACCOUNTING }, - { "_POSIX2_PBS_CHECKPOINT", _SC_2_PBS_CHECKPOINT }, - { "_POSIX2_PBS_LOCATE", _SC_2_PBS_LOCATE }, - { "_POSIX2_PBS_MESSAGE", _SC_2_PBS_MESSAGE }, - { "_POSIX2_PBS_TRACK", _SC_2_PBS_TRACK }, - { "_POSIX2_SW_DEV", _SC_2_SW_DEV }, - { "_POSIX2_UPE", _SC_2_UPE }, - { "_POSIX2_VERSION", _SC_2_VERSION }, + { "POSIX2_C_BIND", _SC_2_C_BIND }, + { "POSIX2_C_DEV", _SC_2_C_DEV }, + { "POSIX2_CHAR_TERM", _SC_2_CHAR_TERM }, + { "POSIX2_FORT_DEV", _SC_2_FORT_DEV }, + { "POSIX2_FORT_RUN", _SC_2_FORT_RUN }, + { "POSIX2_LOCALEDEF", _SC_2_LOCALEDEF }, + { "POSIX2_PBS", _SC_2_PBS }, + { "POSIX2_PBS_ACCOUNTING", _SC_2_PBS_ACCOUNTING }, + { "POSIX2_PBS_CHECKPOINT", _SC_2_PBS_CHECKPOINT }, + { "POSIX2_PBS_LOCATE", _SC_2_PBS_LOCATE }, + { "POSIX2_PBS_MESSAGE", _SC_2_PBS_MESSAGE }, + { "POSIX2_PBS_TRACK", _SC_2_PBS_TRACK }, + { "POSIX2_SW_DEV", _SC_2_SW_DEV }, + { "POSIX2_UPE", _SC_2_UPE }, + { "POSIX2_VERSION", _SC_2_VERSION }, /* X/Open */ #if defined(_SC_XOPEN_CRYPT) -- cgit v1.2.3-70-g09d2