diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-04-07 08:35:14 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-04-07 08:35:14 +0300 |
commit | f40ea7e359df44f3db24391f966abfa9bad556be (patch) | |
tree | fb8f29128cfffdf09e84ee5f3f5001e98e840d7d /lib/rpmdb.c | |
parent | e23a2bf0977fcd6380acc277c4edc9f0ee997600 (diff) | |
download | rpm-f40ea7e359df44f3db24391f966abfa9bad556be.tar.gz rpm-f40ea7e359df44f3db24391f966abfa9bad556be.tar.bz2 rpm-f40ea7e359df44f3db24391f966abfa9bad556be.zip |
Move header INSTALLTID manipulation out of rpmdbAdd()
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r-- | lib/rpmdb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c index c13d1e4aa..f2f3d5900 100644 --- a/lib/rpmdb.c +++ b/lib/rpmdb.c @@ -2405,15 +2405,6 @@ int rpmdbAdd(rpmdb db, int iid, Header h, memset(&key, 0, sizeof(key)); memset(&data, 0, sizeof(data)); -#ifdef NOTYET /* XXX headerDel() broken on dribbles. */ - xx = headerDel(h, RPMTAG_REMOVETID); -#endif - if (iid != 0 && iid != -1) { - rpm_tid_t tid = iid; - if (!headerIsEntry(h, RPMTAG_INSTALLTID)) - headerPutUint32(h, RPMTAG_INSTALLTID, &tid, 1); - } - (void) blockSignals(&signalMask); dbi = rpmdbOpenIndex(db, RPMDBI_PACKAGES, 0); |