From owner-cvs-all Wed Mar 14 11:46:48 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0658137B719; Wed, 14 Mar 2001 11:46:44 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2EJkix54719; Wed, 14 Mar 2001 11:46:44 -0800 (PST) (envelope-from sobomax) Message-Id: <200103141946.f2EJkix54719@freefall.freebsd.org> From: Maxim Sobolev Date: Wed, 14 Mar 2001 11:46:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/lib match.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sobomax 2001/03/14 11:46:43 PST Modified files: usr.sbin/pkg_install/lib match.c Log: When matching installed packages against glob keep track of which patterns actually triggered a match and which did not, and add patterns that didn't into resulting list, so caller will have a chance to notify user that package isn't installed. This should fix current, POLA-breaking behaviour when user doesn't receive a notification if he specifies several packages, some of which aren't installed. Revision Changes Path 1.3 +24 -3 src/usr.sbin/pkg_install/lib/match.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message