From 7138fa3bed4ef36fe94e2f6bdbac071685cbe86d Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 25 Oct 2004 00:34:08 +0000 Subject: Use rpmgi glob and manifest load for --package. Bugs: * @todo An empty file read as manifest truncates argv returning RPMRC_NOTFOUND. * @todo Errors, e.g. non-existent path in manifest, will terminate iteration. * @todo Chained manifests lose an arg someplace. CVS patchset: 7507 CVS date: 2004/10/25 00:34:08 --- lib/rpmgi.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/rpmgi.c') diff --git a/lib/rpmgi.c b/lib/rpmgi.c index b446d963c..bdaa04cf7 100644 --- a/lib/rpmgi.c +++ b/lib/rpmgi.c @@ -54,6 +54,7 @@ static const char * ftsInfoStr(int fts_info) /** * Open a file after macro expanding path. + * @todo There are two error messages printed on header, then manifest failures. * @param path file path * @param fmode open mode * @return file handle @@ -135,6 +136,9 @@ static Header rpmgiReadHeader(rpmgi gi, const char * path) /** * Read next header from package, lazily expanding manifests as found. + * @todo An empty file read as manifest truncates argv returning RPMRC_NOTFOUND. + * @todo Errors, e.g. non-existent path in manifest, will terminate iteration. + * @todo Chained manifests lose an arg someplace. * @param gi generalized iterator * @return RPMRC_OK on success */ -- cgit v1.2.3