[pacman-dev] [patch]Bug in cache.c

Dan McGee dpmcgee at gmail.com
Sun Mar 11 16:30:08 EDT 2007


On 3/9/07, Jürgen Hötzel <juergen at hoetzel.info> wrote:
> On Fri, Mar 09, 2007 at 09:30:28PM +0100, Nagy Gabor wrote:
> > Hi!
> > I think that this is a bug but accidentally works because the name
> > entry is the first member of pmgrp_t.
>
> Thanks. Fixed in CVS.

This is a bug, but the seemingly easy fix causes compilation to spew
warnings. This actually breaks compilation when --enable-debug is
passed to configure because of casting issues. I've replaced it
locally with _alpm_str_cmp which removes this error on compilation.

-Dan


More information about the pacman-dev mailing list