Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/mongodb: fix for #5117

From: Marc Vertes <marc.vertes_at_ugrid.net>
Date: Tue, 23 Feb 2016 18:26:12 +0100

> Le 23 févr. 2016 à 18:18, Marc Vertes <marc.vertes_at_ugrid.net> a écrit :
>
>
>>
>> Technically the getrlimit() is perfectly ok to do on all platforms. But
>> we know glibc returns rlimit anway, so it can be skipped there.
>>
>> I would have put all of the base/size twiddling inside the if(). Then
>> struct rlimit does not need initialization either. But thats a minor
>> thingy. You care to fix that, or should I just apply this?
>>
> Ok, let met fix, test and resubmit.

Adjusting the base/size outside of if() is necessary if init is not
performed by main thread, which is the case for mongo shell. If you
agree with that, you can commit as it is.

Thanks
--
Marc
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Feb 23 2016 - 18:26:12 GMT