[pacman-dev] [PATCH 0/2] separate ini parsing from pacman/conf.c

Sascha Kruse knopwob at googlemail.com
Fri Mar 15 07:06:25 EDT 2013


This set of patches separate the ini parsing from pacman/conf.c into its own
file to make the code reusable for future additions, like parsing config files
for hooks.

The config file gets parsed into a list of ini_section_t which contains the
name of the section and a list of directives which in turn contain key, value,
file and linenum. File and linenum are included to keep the ability to mention
the location of errors in pacmans error messages.

I realize that a new release is planed for the near future and this patch
is not intended to be included in that release, since it adds new strings
to be translated and it probably needs more than one review cycle.

Best regards,
Sascha Kruse


More information about the pacman-dev mailing list