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

  1. Path: sparky!uunet!ibmarc!drake.almaden.ibm.com!drake
  2. From: drake@drake.almaden.ibm.com (Sam Drake)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
  5. Message-ID: <2132@coyote.UUCP>
  6. Date: 7 Jan 93 09:52:45 GMT
  7. References: <93Jan7.012526est.169557-2@watdragon.uwaterloo.ca>
  8. Sender: news@ibmarc.UUCP
  9. Organization: IBM Almaden Research Center
  10. Lines: 11
  11. Nntp-Posting-Host: drake.almaden.ibm.com
  12.  
  13. In article <93Jan7.012526est.169557-2@watdragon.uwaterloo.ca> jmsellen@watdragon.uwaterloo.ca ("John M. Sellens") writes:
  14. >Trying to malloc() 0 bytes on AIX fails, but works on Ultrix, IRIX,
  15. >Dynix, SunOS, BSD, MIPS RiscOS.
  16.  
  17. It's explicitly forbidden by SVID, as I recall.  AIX is SVID
  18. compliant.  Are any of the other systems you mentioned?  (Apparently
  19. not.) Trying to make folks happy who think "UNIX == BSD" and those who
  20. think, "UNIX == System V" ain't always possible.
  21.  
  22. "The nice thing about standards is there are so many of them."
  23.  
  24.