X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/83f6dbe8135dc38ce4ac497ebea7f0ebc87d9199..b58caf92d598c70ddd398b3909b0a2b8b5a110e1:/getconf.tproj/limits.gperf diff --git a/getconf.tproj/limits.gperf b/getconf.tproj/limits.gperf index 0a91be5..bf19282 100644 --- a/getconf.tproj/limits.gperf +++ b/getconf.tproj/limits.gperf @@ -23,13 +23,12 @@ static const struct map *in_word_set(const char *str); %} struct map { const char *name; intmax_t value; int valid; }; %% -_POSIX_CLOCKRES_MIN, _POSIX_CLOCKRES_MIN _POSIX_AIO_LISTIO_MAX, _POSIX_AIO_LISTIO_MAX _POSIX_AIO_MAX, _POSIX_AIO_MAX _POSIX_ARG_MAX, _POSIX_ARG_MAX _POSIX_CHILD_MAX, _POSIX_CHILD_MAX +_POSIX_CLOCKRES_MIN, _POSIX_CLOCKRES_MIN _POSIX_DELAYTIMER_MAX, _POSIX_DELAYTIMER_MAX -_POSIX2_EXPR_NEST_MAX, _POSIX2_EXPR_NEST_MAX _POSIX_HOST_NAME_MAX, _POSIX_HOST_NAME_MAX _POSIX_LINK_MAX, _POSIX_LINK_MAX _POSIX_LOGIN_NAME_MAX, _POSIX_LOGIN_NAME_MAX @@ -68,7 +67,7 @@ _POSIX2_BC_SCALE_MAX, _POSIX2_BC_SCALE_MAX _POSIX2_BC_STRING_MAX, _POSIX2_BC_STRING_MAX _POSIX2_CHARCLASS_NAME_MAX, _POSIX2_CHARCLASS_NAME_MAX _POSIX2_COLL_WEIGHTS_MAX, _POSIX2_COLL_WEIGHTS_MAX -_POSIX2_EXPR_NEXT_MAX, _POSIX2_EXPR_NEST_MAX +_POSIX2_EXPR_NEST_MAX, _POSIX2_EXPR_NEST_MAX _POSIX2_LINE_MAX, _POSIX2_LINE_MAX _POSIX2_RE_DUP_MAX, _POSIX2_RE_DUP_MAX _XOPEN_IOV_MAX, _XOPEN_IOV_MAX @@ -123,7 +122,7 @@ find_limit(const char *name, intmax_t *value) } #ifdef APPLE_GETCONF_UNDERSCORE if(*name == '_') - alt = name + 1; + alt = (char *)name + 1; else { if((alt = (char *)alloca(strlen(name) + 2)) == NULL) return 0;