summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-17 01:03:52 +0100
committerDan McGee <dan@archlinux.org>2011-03-17 01:52:54 +0100
commit3707d5bc468dcd8611073d22b24d6f6be19bbe94 (patch)
treecb62ac6373e4ef43bfe2217fcb1d5be161062534 /doc
parent40a6c5c5eca05b5f65b1dc0c6d5c87fcd313fb2e (diff)
downloadpacman-3707d5bc468dcd8611073d22b24d6f6be19bbe94.tar.gz
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 'doc')
0 files changed, 0 insertions, 0 deletions