[pacman-dev] [PATCH] New feature: files verification

changaco changaco at laposte.net
Sat Mar 28 16:32:42 EDT 2009


> 
> On Sat, Mar 28, 2009 at 8:52 AM, changaco <changaco at laposte.net> wrote:
> > From 7c0348fa499f55968764fef4c7bb3d3d7245932b Mon Sep 17 00:00:00 2001
> > From: Charly COSTE <changaco at laposte.net>
> > Date: Sat, 28 Mar 2009 12:36:23 +0100
> > Subject: [PATCH] New feature: files verification
> >
> > A new option "-Qy" which checks if the files owned by a/some/all package(s) really are on the system (i.e. not accidentally deleted). http://bugs.archlinux.org/task/13877
> 
> I like this, in theory, but I wonder if "y" would be confusing, as the
> user may expect -Qy to do something similar  to -Sy
> 
> 

Firstly I wanted to say that I'm just a student and that it is the first patch I make so thank you for the support.

Secondly about the -Qy problem I thought of that afterwards, maybe -Qk standing for the last letter of "check" would be better. That is an easy change to make.

Finally, my main concern about this patch is that it works great when querying the entire database (i.e. "pacman -Qy") but I get a segmentation fault when querying some given packages (i.e. "pacman -Qy glibc pacman"). As I'm not an expert in C I was hoping that if somebody had some time he could help me fix this.



More information about the pacman-dev mailing list