diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2014-03-21 12:36:35 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2014-03-21 12:44:03 +0200 |
commit | f311fb65eea4791fa15a00412384b96fdccbbf1c (patch) | |
tree | 806a41de022e46c44ad93ecb2f25e2137b0e6e8a /lib/rpmfs.h | |
parent | e87df8ec8e9a4ffc9020646302ae42b7370991bb (diff) | |
download | rpm-f311fb65eea4791fa15a00412384b96fdccbbf1c.tar.gz |
Reset file actions between rpmtsRun() calls (RhBug:1076552)
- When the world changes underneath us (eg by %pretrans hackery)
between test-transaction and actual transaction, in some cases
the file action does not get recomputed if already set.
Always reset file actions to FA_UNKNOWN before disposition
calculations to ensure have a clean starting point.
Diffstat (limited to 'lib/rpmfs.h')
-rw-r--r-- | lib/rpmfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rpmfs.h b/lib/rpmfs.h index 5f747533c..83f99d15a 100644 --- a/lib/rpmfs.h +++ b/lib/rpmfs.h @@ -57,6 +57,9 @@ rpmFileAction rpmfsGetAction(rpmfs fs, unsigned int ix); RPM_GNUC_INTERNAL void rpmfsSetAction(rpmfs fs, unsigned int ix, rpmFileAction action); +RPM_GNUC_INTERNAL +void rpmfsResetActions(rpmfs fs); + #ifdef __cplusplus } #endif |