home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / lucidem / help / 710 < prev    next >
Encoding:
Text File  |  1992-11-20  |  903 b   |  21 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 20 Nov 1992 13:49:44 EST
  2. Date: Fri, 20 Nov 1992 10:48:43 PST
  3. Message-ID: <9211201848.AA12898@thalidomide.lucid>
  4. X-Windows: Japan's secret weapon.
  5. From: jwz@lucid.com (Jamie Zawinski)
  6. Sender: jwz%thalidomide@lucid.com
  7. Subject: Re: Building 19.3 on Sun Sparc
  8. References: <9211191739.AA03672@gumby.ata>
  9. Newsgroups: alt.lucid-emacs.help
  10. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  11. Lines: 8
  12.  
  13. I think this happens when the malloc(0) returns NULL but the X libraries are
  14. not compiled with the flag that tells them that this happens.  Why they need
  15. a compile-time flag for this instead of just *dealing* with it, I don't know.
  16. Good solution: recompile your X libraries with this flag.  Not so good 
  17. solution: modify gmalloc.c to actually allocate memory for 0-length blocks.
  18. Worse solution: use the system malloc.
  19.  
  20.     -- Jamie
  21.