summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2011-03-23 11:11:33 +0100
committerJindrich Novy <jnovy@redhat.com>2011-03-23 11:25:06 +0100
commitc61391e647af31ef53ef20f6e05ff3a9ab044256 (patch)
tree8bd3171b4e4686c610e447c269358fb9ea1e570b /lib/psm.c
parentf0fa14db95b8eb465a1376b91ccc929100f0d0c0 (diff)
downloadlibrpm-tizen-c61391e647af31ef53ef20f6e05ff3a9ab044256.tar.gz
librpm-tizen-c61391e647af31ef53ef20f6e05ff3a9ab044256.tar.bz2
librpm-tizen-c61391e647af31ef53ef20f6e05ff3a9ab044256.zip
Remove libio support to suppress timedRead()
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/psm.c b/lib/psm.c
index bccd4bd4b..1a32f31cc 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -696,7 +696,6 @@ static rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
rpm_color_t tscolor = rpmtsColor(ts);
rpmfi fi = psm->fi;
rpmRC rc = RPMRC_OK;
- int saveerrno;
int xx;
switch (stage) {
@@ -832,9 +831,7 @@ static rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
fdOp(payload, FDSTAT_DIGEST));
xx = fsmTeardown(rpmfiFSM(fi));
- saveerrno = errno; /* XXX FIXME: Fclose with libio destroys errno */
Fclose(payload);
- errno = saveerrno; /* XXX FIXME: Fclose with libio destroys errno */
/* XXX make sure progress is closed out */
psm->what = RPMCALLBACK_INST_PROGRESS;