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