[PATCH 0 of 2] alloca.h breaks Mercurial on FreeBSD

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Oct 7 19:00:29 UTC 2007


The alloca() function is part of <stdlib.h> on FreeBSD.

This means that trying to include <alloca.h> breaks the build of recent
Mercurial Crew snapshots on FreeBSD.  I removed alloca.h and replaced
the only call to alloca() from osutil.c with malloc(), and this seems to
have fixed things here.




More information about the Mercurial-devel mailing list