Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 16:53:28 -0500
From:      Garrett Rooney <rooneg@electricjellyfish.net>
To:        Maxim Sobolev <sobomax@freebsd.org>
Cc:        ports@freebsd.org, jhk@freebsd.org, gad@freebsd.org, reg@freebsd.org
Subject:   Re: [patch] which package functionality for pkg_info
Message-ID:  <20010225165328.A22132@electricjellyfish.net>
In-Reply-To: <200102252125.f1PLPH132145@vic.sabbo.net>; from sobomax@freebsd.org on Sun, Feb 25, 2001 at 11:25:17PM %2B0200
References:  <20010225161633.C94657@electricjellyfish.net> <200102252125.f1PLPH132145@vic.sabbo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 25, 2001 at 11:25:17PM +0200, Maxim Sobolev wrote:
> > > > +    FTS *ftsp;
> > > > +    FTSENT *entp;
> > > 
> > > Please check if you can leverage yet-to-be added matchinstalled()
> > > function (see my recent patches in the freebsd-ports list) to get names
> > > of installed packages instead of rolling your own fts(3) loop.
> > 
> > i'll take a look at it.

it looks like matchinstalled() is only matching the name of the package, where
what i am doing is matching the contents of the package.  perhaps
matchinstalled could be extended to provide that option, but it hardly seems
worth it, especially since matchinstalled is doing a regex match, and that
seems like overkill, since i only need to look for an exact match.

-- 
garrett rooney                        Unix was not designed to stop you from 
rooneg@electricjellyfish.net          doing stupid things, because that would  
http://electricjellyfish.net/         stop you from doing clever things.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010225165328.A22132>