Proprosed break in libGL / DRI driver ABI

Alan Coopersmith Alan.Coopersmith at Sun.COM
Wed Apr 6 23:31:55 PDT 2005


Roland Mainz wrote:
> Depends... if |alloca()| can safely be used on all platforms supported
> by Mesa then this should be no problem to implement. 

I don't think the Solaris implementation of alloca counts as "safe"
unfortunately, due to this warning in the man page:
    If the allocated block is beyond the current stack limit,
    the resulting behavior is undefined.

It certainly scares me away from most uses.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


More information about the xorg-arch mailing list