commom malloc/free practice ...

Dave Jones djones at megatest.UUCP
Wed Oct 25 06:57:29 AEST 1989


>From article <11380 at smoke.BRL.MIL>, by gwyn at smoke.BRL.MIL (Doug Gwyn):
> In article <420 at cpsolv.UUCP> rhg at cpsolv.uucp (Richard H. Gumpertz) writes:
>>Please tell me what section I have overlooked or stop saying
>>the standard already has things that I cannot find.
> 
> If you've been following this thread, you should have already seen
> the answers to your questions.
> 
> I *know* the Standard has things you cannot find.

Come on, Doug. I can't find it either. Just cite the section number
of the place where it says that a cast from void* to OBJ* to void*
must yield pointers that compare equal. The section number will be what? --
six or seven characters, maybe?  It won't hurt your fingers.

My humble opinion:

1. The sections concerning pointers are poorly written.
It will not surprise me at all if a literal reading of them leaves some
expected behavior unspecified.

2. It doesn't matter.



More information about the Comp.std.c mailing list