Twas brillig at 10:07:23 19.10.2010 UTC+02 when [email protected] did gyre and gimble:
wh> malloc will return (void *) so there is no need to cast. wh> i do not know xmalloc() but i see no check for OOM condition. wh> instead of removing xmalloc() it would be more useful to follow wh> XtMalloc() that has error handling inside. Sho what's the reasonable error strategy? Shut down the server? xmalloc is just a funny name for malloc nowadays. -- http://fossarchy.blogspot.com/
pgpTyZAU9YhqS.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
