home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13227 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  966 b 

  1. Path: sparky!uunet!enterpoop.mit.edu!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
  5. Date: 12 Jan 1993 19:14:31 GMT
  6. Organization: /etc/organization
  7. Lines: 13
  8. Distribution: world
  9. Message-ID: <1iv5anINNavi@life.ai.mit.edu>
  10. References: <1ikdebINN6qv@CS.UTK.EDU> <C0JvG9.1HBs@austin.ibm.com> <1it3l4INNfh1@CS.UTK.EDU>
  11. NNTP-Posting-Host: hal.gnu.ai.mit.edu
  12.  
  13.  
  14. In article <1it3l4INNfh1@CS.UTK.EDU> moore@cs.utk.edu writes:
  15. >
  16. > No.  I cannot portably call realloc() or free() with the NULL pointer
  17. > returned by malloc(0) on SysV systems.
  18.  
  19. Well you can under POSIX (and by extension, AIX), so your argument is
  20. no longer relevant to this group.
  21.  
  22. -- 
  23.  \  /   Charles Hannum, mycroft@ai.mit.edu
  24.  /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
  25. Scheme  White heterosexual atheist male (WHAM) pride!
  26.