Subject: CVS commit: src/usr.sbin/pkg_install/info
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 08/07/2004 01:55:06
Module Name:	src
Committed By:	hubertf
Date:		Sat Aug  7 01:55:06 UTC 2004

Modified Files:
	src/usr.sbin/pkg_install/info: perform.c

Log Message:
pkg_info will not DTRT when applied to a binary package that doesn't
have all the files from ALL_FNAMES -- meta pkgs don't have +MTREE-files,
and as such it's impossible to retrieve _any_ information on them.
The fix is to only extract those +-files that are needed (as determined
by the command line options).

Problem noted by gavan@, code reviewed by grant@ and gavan@.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 src/usr.sbin/pkg_install/info/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.