diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-16 19:03:52 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-16 19:52:54 -0500 |
commit | 3707d5bc468dcd8611073d22b24d6f6be19bbe94 (patch) | |
tree | cb62ac6373e4ef43bfe2217fcb1d5be161062534 /contrib/paclist.in | |
parent | 40a6c5c5eca05b5f65b1dc0c6d5c87fcd313fb2e (diff) | |
download | pacman-3707d5bc468dcd8611073d22b24d6f6be19bbe94.tar.xz |
Warn but don't error for unknown pacman.conf directives
This makes all the pacman developers' jobs harder as we have to switch
files whenever running multiple pacman versions and are using newly
introduced options. Instead of erroring out, print warnings and continue
on.
This patch also fixes a const-correctness issue. We immediately cast a
'const char *' to a 'char *' in setrepeatingoption(), which is just
plain wrong as we manipulate the underlying string. Fix the types and
remove the now unnecessary variable.
Finally, a few messages change here for consistency and clarity and
because we continue parsing rather than bailing out on a problem.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/paclist.in')
0 files changed, 0 insertions, 0 deletions