home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jhunix.hcf.jhu.edu!aplcen.apl.jhu.edu!wb3ffv!idsssd!bruce
- From: bruce@idsssd.UUCP (Bruce T. Harvey)
- Subject: Re: malloc(0) fails on AIX ... etc.
- Message-ID: <1993Jan9.161925.5124@idsssd.UUCP>
- Organization: In*sight Distribution Systems, Inc.
- References: <31480@nntp_server.ems.cdc.com>
- Date: Sat, 9 Jan 1993 16:19:25 GMT
- Lines: 48
-
- in article <31480@nntp_server.ems.cdc.com>, bguest@ateam.ems.cdc.com says:
- > In article <2132@coyote.UUCP> drake@drake.almaden.ibm.com (Sam Drake) writes:
- >>In article <93Jan7.012526est.169557-2@watdragon.uwaterloo.ca> jmsellen@watdragon.uwaterloo.ca ("John M. Sellens") writes:
- >>>Trying to malloc() 0 bytes on AIX fails, but works on Ultrix, IRIX,
- >>>Dynix, SunOS, BSD, MIPS RiscOS.
- >>
- > Having researched this recently, the comment about SVID compliance is
- > not 100% correct. AIX (at 3.2) is now POSIX compliant for system calls.
- > Or, alternatively, AIX is compliant with SVID except where it conflicts
- > with POSIX or XPG.
- >
- > This has led to confusion in the past with BSDites and the SysVites
- > saying that AIX is so screwed up because it doesn't do either right.
- > Such is life in the world of 'Open Systems' and 'Standards'.
-
- And work would be easy if we all ran the same stuff that worked the same
- way, did the same things, and gave us the same capabilities. It's not the
- 'american' way (;-) where "different is better," but it would close down
- this thread.
-
- But, think of the threads that would open complaining that "it doesn't error
- when I malloc(0) ... shouldn't it return an error?" and so on until it
- finally got changed, then you'd have the prior version doing this and that
- and a new one that did those and such and on and on and on ...
-
- Rather than complain netwise about the manner in which one set of programs
- behaves, why not prove your capabilities and find a most efficient methodology
- to stay truly portable without doing handstands? In many cases, if it
- weren't for these differences, we
-
- - wouldn't be paid as much as we are;
- - wouldn't be working where we are; and,
- - wouldn't have jobs because anyone can do it 'cause it's the same!
-
- AIX does all sorts of things BETTER than anything I've seen to date, as well
- as all sorts of things WORSE than anything I've seen to date. Likewise for
- System V and BSD and for that matter MS-DOS. I _still_ like CP/M! That's a
- lot of power packed into 8 Kilobytes of memory ... what an operating system!
-
- C'est la vie.
-
- --
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- Bruce T. Harvey {B-}) ::: UUCP: ... {uunet|mimsy}!wb3ffv!idsssd!bruce
- MGR-Systems Integration::: INTERNET: wb3ffv!idsssd!bruce%uunet.uu.net@...
- INSIGHT Dist. Sys. - SI:::CompuServe: 71033,1070
- (410)329-1100 x312,x352::: SnailMail: 222 Schilling Cir.,Hunt Valley, MD 21031
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-