diff options
author | Jindrich Novy <jnovy@redhat.com> | 2011-03-23 11:11:33 +0100 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2011-03-23 11:25:06 +0100 |
commit | c61391e647af31ef53ef20f6e05ff3a9ab044256 (patch) | |
tree | 8bd3171b4e4686c610e447c269358fb9ea1e570b /lib/psm.c | |
parent | f0fa14db95b8eb465a1376b91ccc929100f0d0c0 (diff) | |
download | librpm-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |