]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- use RPMTAG_INSTALLTIME instead of RPMTAG_INSTALLTID when filling hrmib cache
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 21 Oct 2008 21:44:47 +0000 (21:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-hirmib-ts.patch -> 1.1

rpm-hirmib-ts.patch [new file with mode: 0644]

diff --git a/rpm-hirmib-ts.patch b/rpm-hirmib-ts.patch
new file mode 100644 (file)
index 0000000..04c4a73
--- /dev/null
@@ -0,0 +1,11 @@
+--- rpm-4.4.9/rpmdb/rpmdb.c~   2008-10-20 22:25:17.000000000 +0300
++++ rpm-4.4.9/rpmdb/rpmdb.c    2008-10-21 19:21:25.533647571 +0300
+@@ -844,7 +844,7 @@
+       if (fd != NULL) {
+           xx = Fclose(fd);
+           fd = NULL;
+-          if (headerGetEntry(h, RPMTAG_INSTALLTID, NULL, (void **)&iidp, NULL)) {
++          if (headerGetEntry(h, RPMTAG_INSTALLTIME, NULL, (void **)&iidp, NULL)) {
+               struct utimbuf stamp;
+               stamp.actime = *iidp;
+               stamp.modtime = *iidp;
This page took 0.037277 seconds and 4 git commands to generate.