test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

Aki Tuomi aki.tuomi at open-xchange.com
Wed Jan 6 22:37:12 EET 2021


> On 06/01/2021 21:34 Rupert Gallagher <ruga at protonmail.com> wrote:
> 
>  
> test-file-cache.c:259:24: error: use of undeclared identifier 'RLIMIT_AS'
>         test_assert(getrlimit(RLIMIT_AS, &rl_cur) == 0);
>                               ^
> test-file-cache.c:267:24: error: use of undeclared identifier 'RLIMIT_AS'
>         test_assert(setrlimit(RLIMIT_AS, &rl_new) == 0);
>                               ^
> test-file-cache.c:270:24: error: use of undeclared identifier 'RLIMIT_AS'
>         test_assert(setrlimit(RLIMIT_AS, &rl_cur) == 0);
>                               ^
> test-file-cache.c:276:24: error: use of undeclared identifier 'RLIMIT_AS'
>         test_assert(setrlimit(RLIMIT_AS, &rl_new) == 0);
>                               ^
> test-file-cache.c:279:24: error: use of undeclared identifier 'RLIMIT_AS'
>         test_assert(setrlimit(RLIMIT_AS, &rl_cur) == 0);
>                               ^

Which distro/OS is this?

Aki


More information about the dovecot mailing list