Re: [pacman-dev] [PATCH 01/13] Simplify sync_cleandb

2015-06-22 Thread Allan McRae
On 21/06/15 02:27, brainpower wrote: >> /* if keep_used != 0, then the db files which match an used syncdb >> > * will be kept */ >> > -static int sync_cleandb(const char *dbpath, int keep_used) >> > +static int sync_cleandb(const char *dbpath) > You probably want to remove the comment above th

Re: [pacman-dev] [PATCH 01/13] Simplify sync_cleandb

2015-06-20 Thread brainpower
Hi, On 20.06.2015 09:42, Allan McRae wrote: > 1) Remove checks for removing pre-tardb files > 2) Remove the long redundant keep_used parameter > 3) Fix pacman error due to removing .sig file along with database > > Signed-off-by: Allan McRae > --- > src/pacman/sync.c | 43 --

[pacman-dev] [PATCH 01/13] Simplify sync_cleandb

2015-06-20 Thread Allan McRae
1) Remove checks for removing pre-tardb files 2) Remove the long redundant keep_used parameter 3) Fix pacman error due to removing .sig file along with database Signed-off-by: Allan McRae --- src/pacman/sync.c | 43 --- 1 file changed, 12 insertions(+), 31