Xref: utzoo comp.std.c:1899 comp.lang.c:23073 Path: 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 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 | +-----------------------------------------------------------------------+