aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-16 18:07:26 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-16 18:07:26 +0000
commitb1639a0fc334d819296162dcd642fb5c0a25d899 (patch)
treef20f9887280685054e49ff8131fd5ba28518fba9 /URPM.xs
parent8193e28941e92205df8d1502594b1b030c8cc27b (diff)
downloadperl-URPM-b1639a0fc334d819296162dcd642fb5c0a25d899.tar
perl-URPM-b1639a0fc334d819296162dcd642fb5c0a25d899.tar.gz
perl-URPM-b1639a0fc334d819296162dcd642fb5c0a25d899.tar.bz2
perl-URPM-b1639a0fc334d819296162dcd642fb5c0a25d899.tar.xz
perl-URPM-b1639a0fc334d819296162dcd642fb5c0a25d899.zip
0.10-2mdk
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index fa7c6ba..bc8b9cf 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1585,7 +1585,7 @@ int
Pkg_flag_selected(pkg)
URPM::Package pkg
CODE:
- RETVAL = pkg->flag & FLAG_UPGRADE ? pkg->flag & (FLAG_REQUESTED | FLAG_REQUIRED) : 0;
+ RETVAL = pkg->flag & FLAG_UPGRADE ? pkg->flag & (FLAG_BASE | FLAG_REQUESTED | FLAG_REQUIRED) : 0;
OUTPUT:
RETVAL
@@ -1593,7 +1593,7 @@ int
Pkg_flag_available(pkg)
URPM::Package pkg
CODE:
- RETVAL = pkg->flag & FLAG_INSTALLED || (pkg->flag & FLAG_UPGRADE ? pkg->flag & (FLAG_REQUESTED | FLAG_REQUIRED) : 0);
+ RETVAL = pkg->flag & FLAG_INSTALLED || (pkg->flag & FLAG_UPGRADE ? pkg->flag & (FLAG_BASE | FLAG_REQUESTED | FLAG_REQUIRED) : 0);
OUTPUT:
RETVAL