Fix RPMTAG_FILESTATES in rpmdb
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 9 Mar 2009 12:48:47 +0000 (14:48 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 9 Mar 2009 12:48:47 +0000 (14:48 +0200)
commit2b4507d852ac8469608bef2ce8e219d76b0c543e
treef84c267d55aec8752ae5f199cc22392f610837d8
parent1c1faec7a30099f62c12ccef2f15e37a202e6518
Fix RPMTAG_FILESTATES in rpmdb
- sizeof(rpmfileState) != sizeof(char), and char is what goes to headers
  resulting in some pretty weird states despite being correct on disk
- add rpm_fstate_t type for the header presentation of states and
  use where appropriate
lib/psm.c
lib/rpmte.c
lib/rpmte_internal.h