Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2022-02-06 Thread Brad Smith
On 8/13/2021 2:30 PM, Brad Smith wrote: On 1/16/2021 1:32 PM, Aki Tuomi wrote: It's not decided yet. Aki Any update on this? This is one of very few local patches we keep around. Aki? On 16/01/2021 20:16 Brad Smith wrote:   I haven't seen anything about this commited upstream yet. On

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-08-13 Thread Brad Smith
On 1/16/2021 1:32 PM, Aki Tuomi wrote: It's not decided yet. Aki Any update on this? This is one of very few local patches we keep around. On 16/01/2021 20:16 Brad Smith wrote: I haven't seen anything about this commited upstream yet. On 1/7/2021 1:45 AM, Aki Tuomi wrote: Can you

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-16 Thread Brad Smith
Ok. Thanks. Just wanted to make sure it wasn't missed. On 1/16/2021 1:32 PM, Aki Tuomi wrote: It's not decided yet. Aki On 16/01/2021 20:16 Brad Smith wrote: I haven't seen anything about this commited upstream yet. On 1/7/2021 1:45 AM, Aki Tuomi wrote: Can you try adding this to the

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-16 Thread Aki Tuomi
It's not decided yet. Aki > On 16/01/2021 20:16 Brad Smith wrote: > > > I haven't seen anything about this commited upstream yet. > > On 1/7/2021 1:45 AM, Aki Tuomi wrote: > > Can you try adding this to the file? > > > > #define RLIMIT_AS RLIMIT_DATA > > > > Aki > > > >> On 06/01/2021

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-16 Thread Brad Smith
I haven't seen anything about this commited upstream yet. On 1/7/2021 1:45 AM, Aki Tuomi wrote: Can you try adding this to the file? #define RLIMIT_AS RLIMIT_DATA Aki On 06/01/2021 22:47 Rupert Gallagher wrote: OpenBSD Original Message On Jan 6, 2021, 21:37, Aki Tuomi

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-07 Thread Rupert Gallagher
It compiles. --- ./src/lib/test-file-cache.c.origWed Jan 6 19:11:47 2021 +++ ./src/lib/test-file-cache.c Thu Jan 7 11:38:03 2021 @@ -254,6 +254,11 @@ test_assert(size == 0); test_assert(map == NULL); + /* OpenBSD does not support RLIMIT_AS */ + #ifndef HAVE_RLIMIT_AS +

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Aki Tuomi
Can you try adding this to the file? #define RLIMIT_AS RLIMIT_DATA Aki > On 06/01/2021 22:47 Rupert Gallagher wrote: > > > OpenBSD > > > Original Message > On Jan 6, 2021, 21:37, Aki Tuomi < aki.tu...@open-xchange.com> wrote: > > Which distro/OS is this? > Aki

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Rupert Gallagher
OpenBSD Original Message On Jan 6, 2021, 21:37, Aki Tuomi < aki.tu...@open-xchange.com> wrote: Which distro/OS is this? Aki

Re: test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Aki Tuomi
> On 06/01/2021 21:34 Rupert Gallagher wrote: > > > test-file-cache.c:259:24: error: use of undeclared identifier 'RLIMIT_AS' > test_assert(getrlimit(RLIMIT_AS, _cur) == 0); > ^ > test-file-cache.c:267:24: error: use of undeclared identifier 'RLIMIT_AS'

test-file-cache.c needs #ifdef HAVE_RLIMIT_AS

2021-01-06 Thread Rupert Gallagher
test-file-cache.c:259:24: error: use of undeclared identifier 'RLIMIT_AS' test_assert(getrlimit(RLIMIT_AS, _cur) == 0); ^ test-file-cache.c:267:24: error: use of undeclared identifier 'RLIMIT_AS' test_assert(setrlimit(RLIMIT_AS, _new) == 0);