From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 47E72138010 for ; Mon, 10 Sep 2012 07:29:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CB4AE062B; Mon, 10 Sep 2012 07:29:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2392AE062B for ; Mon, 10 Sep 2012 07:29:35 +0000 (UTC) Received: from pomiocik.lan (87-205-55-151.adsl.inetia.pl [87.205.55.151]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8F97D335E2C; Mon, 10 Sep 2012 07:29:33 +0000 (UTC) Date: Mon, 10 Sep 2012 09:30:35 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-pms@lists.gentoo.org Cc: ciaran.mccreesh@googlemail.com Subject: Re: [gentoo-pms] best_version: missing failure behavior Message-ID: <20120910093035.4d84f06d@pomiocik.lan> In-Reply-To: <20120910074040.2f029629@googlemail.com> References: <20120909233124.54cff513@pomiocik.lan> <20120910074040.2f029629@googlemail.com> Organization: Gentoo X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.12; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/T+13NWqTf9Xf9Bq8SgdGqI1"; protocol="application/pgp-signature" X-Archives-Salt: dd1836a1-419a-4293-a2b3-a5aea81a8e17 X-Archives-Hash: d4bb0adfddc8521fb30e3796190a5584 --Sig_/T+13NWqTf9Xf9Bq8SgdGqI1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 10 Sep 2012 07:40:40 +0100 Ciaran McCreesh wrote: > On Sun, 9 Sep 2012 23:31:24 +0200 > Micha=C5=82 G=C3=B3rny wrote: > > > best_version Takes exactly one package dependency specification > > > as an argument. If a matching package is installed, prints > > > the category, package name and version of the highest matching > > > version. > >=20 > > What happens if no matching package is installed? Is it then even > > legal to call the function then? >=20 > If there's no matching package installed, it doesn't print anything. Is it guaranteed to return with 0 exit status then? --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/T+13NWqTf9Xf9Bq8SgdGqI1 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAQEIAAYFAlBNlxsACgkQfXuS5UK5QB1eGQP/frdtqhZTTfEf9OkA2/b7QXUs z+l9Vbr64MiC0crsBkB81vWxERIsrJEe7b6pLdbrBkF6V7ue4O+e+4b+aSr2OVES 9/yau+aTaxLi/qWYMvIVGGrOo9rRVXTXgqytMwwyR2gwhB2euEPhIy2jvM9+tqbE xe8MKq3nnmVK+ApRLR0= =QnuO -----END PGP SIGNATURE----- --Sig_/T+13NWqTf9Xf9Bq8SgdGqI1--