summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
authorPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-07-08 10:20:02 +0300
committerPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-07-08 10:20:02 +0300
commit9958e535fff7bd5d65fd4b68fab3fc1d40158f56 (patch)
treeedfe030186edd49a63eed5bb2b9dec9e41836982 /lib/rpminstall.c
parentaaa40355e95057350e9e28f8e70b0d9a720f1dff (diff)
downloadlibrpm-tizen-9958e535fff7bd5d65fd4b68fab3fc1d40158f56.tar.gz
librpm-tizen-9958e535fff7bd5d65fd4b68fab3fc1d40158f56.tar.bz2
librpm-tizen-9958e535fff7bd5d65fd4b68fab3fc1d40158f56.zip
Eliminate the last two fpio uses in rpm codebase
- Both relate to reading manifests and it doesn't make the damnest difference what io mode these use as rpmReadPackageManifest() opens its own stream on the fd with fdopen() which works on any io type, not just fpio..
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 02a80aee5..3b64e63ef 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -284,7 +284,7 @@ static int tryReadManifest(struct rpmEIU * eiu)
int rc;
/* Try to read a package manifest. */
- FD_t fd = Fopen(*eiu->fnp, "r.fpio");
+ FD_t fd = Fopen(*eiu->fnp, "r.ufdio");
if (fd == NULL || Ferror(fd)) {
rpmlog(RPMLOG_ERR, _("open of %s failed: %s\n"), *eiu->fnp,
Fstrerror(fd));