aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.h
diff options
context:
space:
mode:
authorJason Woodward2008-12-14 19:28:32 +0000
committerJason Woodward2008-12-14 19:28:32 +0000
commitbcfbf0b2a1ff3c6fa55cfbba43e751093b1ead3c (patch)
tree39eb593453f859ceba38848c4d9882685dd960d7 /src/configuration.h
parentcf086740bb58f5983a97c66c9f1d05cae9aab160 (diff)
downloadslapt-get-bcfbf0b2a1ff3c6fa55cfbba43e751093b1ead3c.tar.gz
fixed an initialization errror in slapt_is_required_by() that caused a segfault when removing with --no-deps.0.10.1
if no package sources are defined with a priority, disable use of priorities when dealing with /patches. This prevents the previous default slapt-get behavior from changing and causing confusion. With priorities, /patches is always assigned +1 above the package sources priority. So if no priorities were in use then anything found in any sources /patches always trumped anything else. This is probably the most correct behavior but it is still unexpected for existing users. To get the correct behavior, assign a priority to one or more sources.
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 7dbeb39..aee7560 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -42,6 +42,7 @@ typedef struct {
SLAPT_BOOL_T remove_obsolete;
SLAPT_BOOL_T no_upgrade;
unsigned int retry;
+ SLAPT_BOOL_T use_priority;
} slapt_rc_config;
/* initialize slapt_rc_config */