Re: [pacman-dev] [PATCH 1/2] alpm: check for invalid sync db before replacing original

2016-09-08 Thread Ivy Foster
On 08 Sep 2016, at 12:55 pm -0400, Andrew Gregory wrote: > On 09/07/16 at 10:28pm, Ivy Foster wrote: > > On 07 Sep 2016, at 10:05 pm -0400, Andrew Gregory wrote: > > > This runs the risk of conflicting with another db if dbext is "" or > > > ".bak", for example, if I have repos core and core.bak,

Re: [pacman-dev] [PATCH 1/2] alpm: check for invalid sync db before replacing original

2016-09-08 Thread Andrew Gregory
On 09/07/16 at 10:28pm, Ivy Foster wrote: > On 07 Sep 2016, at 10:05 pm -0400, Andrew Gregory wrote: > > On 09/07/16 at 07:22pm, ivy.fos...@gmail.com wrote: > > > From: Ivy Foster > > > This is a step in the right direction, but the problem of downloading > > an invalid db over a valid one still

Re: [pacman-dev] [PATCH 1/2] alpm: check for invalid sync db before replacing original

2016-09-07 Thread Ivy Foster
On 07 Sep 2016, at 10:05 pm -0400, Andrew Gregory wrote: > On 09/07/16 at 07:22pm, ivy.fos...@gmail.com wrote: > > From: Ivy Foster > This is a step in the right direction, but the problem of downloading > an invalid db over a valid one still exists. The errors given in the > bug report are not

Re: [pacman-dev] [PATCH 1/2] alpm: check for invalid sync db before replacing original

2016-09-07 Thread Andrew Gregory
On 09/07/16 at 07:22pm, ivy.fos...@gmail.com wrote: > From: Ivy Foster > > Closes #46107 > > Signed-off-by: Ivy Foster > --- > lib/libalpm/alpm.h| 1 + > lib/libalpm/be_sync.c | 26 +- > lib/libalpm/error.c | 2 ++ > 3 files changed, 28 insertions(+), 1 deletion

[pacman-dev] [PATCH 1/2] alpm: check for invalid sync db before replacing original

2016-09-07 Thread ivy . foster
From: Ivy Foster Closes #46107 Signed-off-by: Ivy Foster --- lib/libalpm/alpm.h| 1 + lib/libalpm/be_sync.c | 26 +- lib/libalpm/error.c | 2 ++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 168d71b.