[pacman-dev] [PATCH] move db lock/unlock to the transaction functions

VMiklos vmiklos at frugalware.org
Fri Jan 27 19:13:50 EST 2006


On Thu, Jan 26, 2006 at 09:51:47PM +0100, Aurelien Foret <aurelien at archlinux.org> wrote:
> Sounds good to me. I applied the patch, with a little rework (I dropped 
> the R/W access test surrounding the lock creation/destruction).

erm if we unlock the db in trans_release(), then we should call it in
pacman_remove() even there isn't any error:

http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdiff;h=20060128000049-e2957-7f185a55329a00b3f4e372de6130ee1d68afe27f.gz;

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org




More information about the pacman-dev mailing list