[pacman-dev] [PATCH] Clear up definition of INFRQ_ALL

Dan McGee dan at archlinux.org
Thu Jan 2 13:37:06 EST 2014


Signed-off-by: Dan McGee <dan at archlinux.org>
---
 lib/libalpm/db.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 4bb6ee9..4e35c13 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -32,13 +32,14 @@
 
 /* Database entries */
 typedef enum _alpm_dbinfrq_t {
-	INFRQ_BASE = 1,
+	INFRQ_BASE = (1 << 0),
 	INFRQ_DESC = (1 << 1),
 	INFRQ_FILES = (1 << 2),
 	INFRQ_SCRIPTLET = (1 << 3),
 	INFRQ_DSIZE = (1 << 4),
 	/* ALL should be info stored in the package or database */
-	INFRQ_ALL = 0x1F,
+	INFRQ_ALL = INFRQ_BASE | INFRQ_DESC | INFRQ_FILES |
+		INFRQ_SCRIPTLET | INFRQ_DSIZE,
 	INFRQ_ERROR = (1 << 31)
 } alpm_dbinfrq_t;
 
-- 
1.8.5.2



More information about the pacman-dev mailing list