[PATCH] Purge macros NEED_EVENTS and NEED_REPLIES

Alan Coopersmith alan.coopersmith at oracle.com
Thu Jul 1 07:09:15 PDT 2010


Michel Dänzer wrote:
> On Don, 2010-07-01 at 06:41 -0300, Fernando Carrijo wrote: 
>> Thus spake Alan Coopersmith, when questioned about NEED_EVENTS and NEED_REPLIES:
>>
>>   "Long long ago,  X was built on  computers with 4Mb RAM. The  amount of memory
>>    used for the parse tables was large and if you didn't need it, then you saved
>>    time & memory  #ifdef'ing out the bits you didn't  need. Plus, some compilers
>>    sucked, life was hard, and the bits  had to be rolled uphill in the snow both
>>    ways. In other  words, ancient history that can be  deleted now unless you're
>>    really building a 15+ year old release."
>>
>> This reviewer-friendly series of patches aims to purge both macros.
> 
> Which module(s) used to check for these defines, and when were those
> checks removed? 

x11proto, X11R6.3 (1996)

> At least the xf86-*-vm* drivers can still be built and
> used with pretty old releases of X.

X11R6.3 would be several releases older than the XFree86 4.0 module loader,
so that shouldn't be a problem.

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



More information about the xorg-devel mailing list