Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: ciaran.mccreesh@××××××××××.com
Subject: Re: [gentoo-pms] best_version: missing failure behavior
Date: Mon, 10 Sep 2012 07:29:54
Message-Id: 20120910093035.4d84f06d@pomiocik.lan
In Reply to: Re: [gentoo-pms] best_version: missing failure behavior by Ciaran McCreesh
1 On Mon, 10 Sep 2012 07:40:40 +0100
2 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
3
4 > On Sun, 9 Sep 2012 23:31:24 +0200
5 > Michał Górny <mgorny@g.o> wrote:
6 > > > best_version Takes exactly one package dependency specification
7 > > > as an argument. If a matching package is installed, prints
8 > > > the category, package name and version of the highest matching
9 > > > version.
10 > >
11 > > What happens if no matching package is installed? Is it then even
12 > > legal to call the function then?
13 >
14 > If there's no matching package installed, it doesn't print anything.
15
16 Is it guaranteed to return with 0 exit status then?
17
18 --
19 Best regards,
20 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-pms] best_version: missing failure behavior Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>