From 998aaf5c6291c44123f8b88c1ca6f258b931fe1c Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 10 Oct 2005 18:21:40 +0000 Subject: Add the RPMPROB_FILTER_DISKNODES flag for running transactions with the nosize option. Although rpm doesn't seem to use it internally, it sets it on the --ignoresize command-line option. --- URPM.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/URPM.xs b/URPM.xs index 2c00fc5..9f9d1b2 100644 --- a/URPM.xs +++ b/URPM.xs @@ -2942,7 +2942,7 @@ Trans_run(trans, data, ...) } else if (!memcmp(s, "delta", 5)) td.min_delta = SvIV(ST(i+1)); } else if (len == 6 && !memcmp(s, "nosize", 6)) { - if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_DISKSPACE; + if (SvIV(ST(i+1))) probFilter |= (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES); } else if (len == 9 && !memcmp(s, "noscripts", 9)) { if (SvIV(ST(i+1))) transFlags |= (RPMTRANS_FLAG_NOSCRIPTS | RPMTRANS_FLAG_NOPRE | -- cgit v1.2.1