diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-16 18:07:26 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-16 18:07:26 +0000 |
commit | b1639a0fc334d819296162dcd642fb5c0a25d899 (patch) | |
tree | f20f9887280685054e49ff8131fd5ba28518fba9 /URPM.xs | |
parent | 8193e28941e92205df8d1502594b1b030c8cc27b (diff) | |
download | perl-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.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |