diff options
author | jbj <devnull@localhost> | 2004-10-25 00:34:08 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-25 00:34:08 +0000 |
commit | 7138fa3bed4ef36fe94e2f6bdbac071685cbe86d (patch) | |
tree | eafd94f5ac8690591f619c42421fdc02fab44e97 /lib/rpmgi.c | |
parent | f60aac8e5a0be5659388f1e0cf705fdde0b519aa (diff) | |
download | librpm-tizen-7138fa3bed4ef36fe94e2f6bdbac071685cbe86d.tar.gz librpm-tizen-7138fa3bed4ef36fe94e2f6bdbac071685cbe86d.tar.bz2 librpm-tizen-7138fa3bed4ef36fe94e2f6bdbac071685cbe86d.zip |
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
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r-- | lib/rpmgi.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |