[pacman-dev] [PATCH 2/6] Add helper methods for setting directory options

2011-06-03 Thread Dan McGee
This keeps duplicate code to a minimum and also addresses the issue where calling set_cachedirs() didn't canonicalize the passed-in paths. This will come in more handy as we refactor some of these option setters away. Signed-off-by: Dan McGee --- lib/libalpm/alpm.c |1 + lib/libalpm/deps.c

Re: [pacman-dev] [PATCH 2/6] Add helper methods for setting directory options

2011-06-03 Thread Allan McRae
On 04/06/11 08:40, Dan McGee wrote: This keeps duplicate code to a minimum and also addresses the issue where calling set_cachedirs() didn't canonicalize the passed-in paths. This will come in more handy as we refactor some of these option setters away. Signed-off-by: Dan McGee --- int SY

Re: [pacman-dev] [PATCH 2/6] Add helper methods for setting directory options

2011-06-07 Thread Dan McGee
On Fri, Jun 3, 2011 at 6:49 PM, Allan McRae wrote: > On 04/06/11 08:40, Dan McGee wrote: >> >> This keeps duplicate code to a minimum and also addresses the issue >> where calling set_cachedirs() didn't canonicalize the passed-in paths. >> This will come in more handy as we refactor some of these