SOURCES (rpm-4_4_9): rpm-rpm5-patchset-9486.patch - just headerAdd...

glen glen at pld-linux.org
Tue Feb 5 20:04:25 CET 2008


Author: glen                         Date: Tue Feb  5 19:04:25 2008 GMT
Module: SOURCES                       Tag: rpm-4_4_9
---- Log message:
- just headerAddEntry()

---- Files affected:
SOURCES:
   rpm-rpm5-patchset-9486.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/rpm-rpm5-patchset-9486.patch
diff -u SOURCES/rpm-rpm5-patchset-9486.patch:1.1.2.1 SOURCES/rpm-rpm5-patchset-9486.patch:1.1.2.2
--- SOURCES/rpm-rpm5-patchset-9486.patch:1.1.2.1	Tue Feb  5 18:59:09 2008
+++ SOURCES/rpm-rpm5-patchset-9486.patch	Tue Feb  5 20:04:20 2008
@@ -14,7 +14,7 @@
  
      xx = headerAddEntry(fi->h, RPMTAG_INSTALLTIME, RPM_INT32_TYPE,
  			&installTime, 1);
-@@ -1530,6 +1526,32 @@
+@@ -1530,6 +1526,28 @@
      return 0;
  }
  
@@ -34,11 +34,7 @@
 +    int xx = 1;
 +
 +    if (fi->fstates != NULL && fc > 0) {
-+	he->tag = RPMTAG_FILESTATES;
-+	he->t = RPM_UINT8_TYPE;
-+	he->p.ui8p = fi->fstates;
-+	he->c = fc;
-+	xx = headerPut(fi->h, he, 0);
++	xx = headerAddEntry(fi->h, RPMTAG_FILESTATES, RPM_CHAR_TYPE, fi->fstates, fc);
 +    }
 +
 +    return 0;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-rpm5-patchset-9486.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list