[PULL] getting rid of Xalloc/Xfree/... in server

Alan Coopersmith alan.coopersmith at oracle.com
Fri May 14 07:38:47 PDT 2010


Michel Dänzer wrote:
> How are drivers supposed to deal with the resulting warnings? If a
> driver is converted to use malloc and friends directly, will it still
> work with older servers?

You will probably lose compatibility with servers built from the
monolithic tree (i.e. XFree86 4.x, Xorg 6.x), but the Makefile.am's
in the modular tree never converted the custom allocator code that
was previously used for Xalloc etal, so all modular server 1.x releases
should already be just malloc (unless someone made a local patch to
enable that and never submitted upstream, but then they can't expect
upstream to support their local mods).

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list