On 17/06/2009, Bernd Jendrissek <bernd.jendris...@gmail.com> wrote:
> I found my agent crashing on tile-related callbacks.  Turns out
> handle_tile_info() was passing a struct tile *, but enqueue_call() was
> taking x and y coordinates.  This couldn't have helped the "core dumps
> and memory corruption" referred to in
> http://thread.gmane.org/gmane.games.freeciv.cvs/6285, but that's so
> 2004 I don't know if that's relevant here.

Certainly taking two args from a va_list when only one exists there
is not a good thing! Thanks for tracking this down, I'll test it and
commit it as soon as possible.


----------------------------------------------------------------
その機械は一体どうやって動けます。

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to