[PATH] XQuartz: Drop calls to alloca

Daniel Stone daniel at fooishbar.org
Mon Nov 30 16:17:09 PST 2009


On Mon, Nov 30, 2009 at 03:56:11PM -0800, Keith Packard wrote:
> On Tue, 1 Dec 2009 10:45:01 +1100, Daniel Stone <daniel at fooishbar.org> wrote:
> > Anyone have any objection to declaring xalloc/xfree dead -- at least in
> > the server -- and moving to plain old malloc/calloc/strdup/.../free?
> 
> The only issue is back-porting patches to old X server versions; this
> kind of giant pile of churn makes that harder. If no-one cares about
> that issue, I'm up for reducing our arbitrary layers of useless abstraction.

Well, it's the sort of thing that could be solved with a mechanical
conversion, and we've already made life difficult there by getting rid
of a lot of unnecessary char * casts.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091201/6bcedea0/attachment.pgp 


More information about the xorg-devel mailing list