[pacman-dev] vercmp discussion (was: String freeze for 3.2 release)

Xavier shiningxc at gmail.com
Mon Jul 21 06:01:44 EDT 2008


On Mon, Jul 21, 2008 at 11:25 AM, Xavier <shiningxc at gmail.com> wrote:
>
> Apparently the static strings were a show stopper to Dan.
> I don't have a problem with static strings, since it removes the
> malloc/free overhead and also simplifies the code.
> As always with dynamic strings, we have the choice between duplicating
> all free calls, or using goto.
>
> But anyway, here is a new patch using strdup/free instead of static arrays.
>

This breaks sync1000, sync1003 and upgrade075 pactest, but I have not
yet been able to figure out why.




More information about the pacman-dev mailing list