poldek: poldek/capreq.h - is_autodirreq()
mis
mis at pld-linux.org
Mon Aug 21 16:13:13 CEST 2006
Author: mis Date: Mon Aug 21 14:13:13 2006 GMT
Module: poldek Tag: HEAD
---- Log message:
- is_autodirreq()
---- Files affected:
poldek/poldek:
capreq.h (1.27 -> 1.28)
---- Diffs:
================================================================
Index: poldek/poldek/capreq.h
diff -u poldek/poldek/capreq.h:1.27 poldek/poldek/capreq.h:1.28
--- poldek/poldek/capreq.h:1.27 Mon Sep 12 21:49:45 2005
+++ poldek/poldek/capreq.h Mon Aug 21 16:13:08 2006
@@ -78,7 +78,8 @@
#define capreq_is_file(cr) ((cr)->_buf[1] == '/')
#define capreq_isnot_file(cr) ((cr)->_buf[1] != '/')
-#define capreq_is_bastard(cr) ((cr)->cr_flags & CAPREQ_BASTARD)
+#define capreq_is_bastard(cr) ((cr)->cr_flags & CAPREQ_BASTARD)
+#define capreq_is_autodirreq(cr) (capreq_is_bastard(cr) && capreq_is_file(cr))
#define capreq_is_rpmlib(cr) ((cr)->cr_flags & CAPREQ_RPMLIB)
#define capreq_set_satisfied(cr) ((cr)->cr_flags |= CAPREQ_RPMLIB_SATISFIED)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/capreq.h?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list