public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: ciaran.mccreesh@googlemail.com
Subject: Re: [gentoo-pms] best_version: missing failure behavior
Date: Mon, 10 Sep 2012 09:30:35 +0200	[thread overview]
Message-ID: <20120910093035.4d84f06d@pomiocik.lan> (raw)
In-Reply-To: <20120910074040.2f029629@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

On Mon, 10 Sep 2012 07:40:40 +0100
Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote:

> On Sun, 9 Sep 2012 23:31:24 +0200
> Michał Górny <mgorny@gentoo.org> 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.
> > 
> > What happens if no matching package is installed? Is it then even
> > legal to call the function then?
> 
> If there's no matching package installed, it doesn't print anything.

Is it guaranteed to return with 0 exit status then?

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2012-09-10  7:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09 21:31 [gentoo-pms] best_version: missing failure behavior Michał Górny
2012-09-10  6:40 ` Ciaran McCreesh
2012-09-10  7:30   ` Michał Górny [this message]
2012-09-10  7:35     ` Ciaran McCreesh
2012-09-10 13:01       ` [gentoo-pms] [PATCH] best_version: make failure behavior clear Michał Górny
2012-09-10 14:49         ` Ulrich Mueller
2012-09-10 16:38           ` Michał Górny
2012-09-13  6:33         ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120910093035.4d84f06d@pomiocik.lan \
    --to=mgorny@gentoo.org \
    --cc=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-pms@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox