Author: glen                         Date: Tue Oct 21 21:44:53 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use RPMTAG_INSTALLTIME instead of RPMTAG_INSTALLTID when filling hrmib cache

---- Files affected:
SOURCES:
   rpm-hirmib-ts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rpm-hirmib-ts.patch
diff -u /dev/null SOURCES/rpm-hirmib-ts.patch:1.1
--- /dev/null   Tue Oct 21 23:44:53 2008
+++ SOURCES/rpm-hirmib-ts.patch Tue Oct 21 23:44:47 2008
@@ -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;
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to