[pacman-dev] Aqpm, and some help needed

Dario Freddi drf54321 at gmail.com
Sat Dec 27 14:34:02 EST 2008


On Saturday 27 December 2008 19:29:31 Xavier wrote:
>
> One funny thing I noticed is that the call is the following :
> handle->dlcb(filename, dl_thisfile, ust.size);
> with dl_thisfile size_t and ust.size off_t
> and the type of the function is this :
> typedef void (*alpm_cb_download)(const char *filename,
> off_t xfered, off_t total);
>
> So we have a type mismatch for the xfered parameter, but not for the
> total parameter. Yet you only have problems with total :P So it is
> probably not the problem, but it is still something worth playing
> with.

Ok, after having a small round with it I found out that types are not 
compatible, so this have to be played into libalpm. I think this could be the 
only issue, since back in the days, when the function had standard types, 
everything worked. I'll try again, expect a patch in the case

> _______________________________________________
> pacman-dev mailing list
> pacman-dev at archlinux.org
> http://archlinux.org/mailman/listinfo/pacman-dev



More information about the pacman-dev mailing list