[pacman-dev] [PATCH] Use pkgcache instead of db_scan in remove.c

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Mar 28 12:12:34 EDT 2008


> >From 51abd287f9c40499f6985c3266441780a04c298c Mon Sep 17 00:00:00
> >2001
> From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
> Date: Fri, 28 Mar 2008 17:06:49 +0100
> Subject: [PATCH] Use pkgcache instead of db_scan in remove.c
> 
> This should be a notable speed-up (apart from kernel cache).
And should fix some memleaks (in case of errors, the result of db_scan
was never freed)
> 
> Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>




More information about the pacman-dev mailing list