🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #736

Re: commom malloc/free practice breaks standard - author strikes back

#736
From: Conor P. Cahill
Date: Fri, 20 Oct 1989 21:01
19 lines
1120 bytes
In article <992@cirrusl.UUCP>, dhesi@sun505.UUCP (Rahul Dhesi) writes:
> information.  Can somebody quote chapter and verse to show that the
> standard does require the series of casts
> 
>      void * ->  OBJ *  ->  void *
> 
> to yield the original pointer?

The standard doesn't require this.  It requires that 

      OBJ * -> void * ->  OBJ * 

yield the original pointer.

-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+
Technical Details
Message-ID: <1295@virtech.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!virtech!cpcahil
References: <1989Oct16.111059.3840@anucsd.oz> <992@cirrusl.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!virtech!cpcahil
From: cpcahil@virtech.UUCP (Conor P. Cahill)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: commom malloc/free practice breaks standard - author strikes back
Message-ID: <1295@virtech.UUCP>
Date: 20 Oct 89 21:01:46 GMT
References: <1989Oct16.111059.3840@anucsd.oz> <992@cirrusl.UUCP>
Organization: Virtual Technologies Inc
Lines: 19