poldek: poldek/pkgdir/hdrl/hdrl.c HEADER_MAGIC_YES not needed/avai...
arekm
arekm at pld-linux.org
Tue Oct 30 22:57:38 CET 2007
Author: arekm Date: Tue Oct 30 21:57:38 2007 GMT
Module: poldek Tag: HEAD
---- Log message:
HEADER_MAGIC_YES not needed/available in rpm5
---- Files affected:
poldek/poldek/pkgdir/hdrl:
hdrl.c (1.21 -> 1.22)
---- Diffs:
================================================================
Index: poldek/poldek/pkgdir/hdrl/hdrl.c
diff -u poldek/poldek/pkgdir/hdrl/hdrl.c:1.21 poldek/poldek/pkgdir/hdrl/hdrl.c:1.22
--- poldek/poldek/pkgdir/hdrl/hdrl.c:1.21 Sat Oct 9 18:51:07 2004
+++ poldek/poldek/pkgdir/hdrl/hdrl.c Tue Oct 30 22:57:33 2007
@@ -96,8 +96,12 @@
vfile_close(vf);
return -1;
}
-
+
+#ifdef HEADER_MAGIC_YES
while ((h = headerRead(fdt, HEADER_MAGIC_YES))) {
+#else
+ while ((h = headerRead(fdt))) {
+#endif
if (headerIsEntry(h, RPMTAG_SOURCEPACKAGE)) { /* omit src.rpms */
headerFree(h);
continue;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgdir/hdrl/hdrl.c?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list