Path: utzoo!attcan!uunet!cs.utexas.edu!usc!apple!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Xt realloc() problem Message-ID: <8906292013.AA02421@LYRE.MIT.EDU> Date: 29 Jun 89 20:13:26 GMT References: <382@opusys.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 10 > Does X expect the memory allocation routines to care of 'zero' bytes request? The MIT implementation does not necessarily expect malloc(0) to behave the same on all systems. > Is this some kind of bug in the ToolKit.? Yes, and we plan to fix it in the same way that Xlib handles it; by adding a configuration parameter (actually, using the one that's already there for Xlib) to tell Xt how the particular libc behaves.