🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5795

Re: realloc

#5795
From: Guy Harris
Date: Fri, 31 Mar 1989 07:18
12 lines
1099 bytes
 >Unfortunately, this is (at present) not a portable assumption, because
 >neither V6 nor V7 Unix -- the Unixes from which essentially all others
 >are descended, and which included the first widely-known C compilers -- 
 >did this.  It was invented later.  There are probably a fair number
 >of old systems that haven't caught up with it.

In fact, I checked the S5R3 "malloc"s - both the one in "libc", which
is, as I remember, little changed from the V7 one, and the one in
"-lmalloc" - and they most definitely do not make the check for NULL, so
there are probably a fair number of *new* systems that haven't caught up
with it.
Technical Details
Message-ID: <1347@auspex.auspex.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!ogccse!littlei!uunet!auspex!guy
References: <10170@bloom-beacon.MIT.EDU> <1989Mar29.205433.3958@utzoo.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!ogccse!littlei!uunet!auspex!guy
From: guy@auspex.auspex.com (Guy Harris)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: realloc
Message-ID: <1347@auspex.auspex.com>
Date: 31 Mar 89 07:18:28 GMT
References: <10170@bloom-beacon.MIT.EDU> <1989Mar29.205433.3958@utzoo.uucp>
Reply-To: guy@auspex.auspex.com (Guy Harris)
Organization: Auspex Systems, Santa Clara
Lines: 12