X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id A4C32DC83DB for ; Tue, 23 Feb 2016 17:26:15 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 61E25DC718F for ; Tue, 23 Feb 2016 17:26:15 +0000 (UTC) Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 6686BC5A81; Tue, 23 Feb 2016 18:26:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id LjXZ7vhVojQa; Tue, 23 Feb 2016 18:26:13 +0100 (CET) X-Originating-IP: 193.248.36.207 Received: from [192.168.1.217] (LCaen-656-1-170-207.w193-248.abo.wanadoo.fr [193.248.36.207]) (Authenticated sender: marc.vertes@ugrid.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id CABFAC5A6C; Tue, 23 Feb 2016 18:26:12 +0100 (CET) Content-Type: text/plain; charset=utf-8 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: [alpine-aports] [PATCH] testing/mongodb: fix for #5117 From: Marc Vertes In-Reply-To: <6B28E7B4-454F-4391-AA4E-498D73DD811A@ugrid.net> Date: Tue, 23 Feb 2016 18:26:12 +0100 Cc: alpine-aports@lists.alpinelinux.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1456247469-958-1-git-send-email-marc.vertes@ugrid.net> <20160223191612.6f25f25b@vostro> <6B28E7B4-454F-4391-AA4E-498D73DD811A@ugrid.net> To: Timo Teras X-Mailer: Apple Mail (2.3112) X-Virus-Scanned: ClamAV using ClamSMTP > Le 23 f=C3=A9vr. 2016 =C3=A0 18:18, Marc Vertes = a =C3=A9crit : >=20 >=20 >>=20 >> Technically the getrlimit() is perfectly ok to do on all platforms. = But >> we know glibc returns rlimit anway, so it can be skipped there. >>=20 >> 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? >>=20 > 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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---