[comp.sys.amiga.tech] malloc

ditto@cbmvax.UUCP (Michael "Ford" Ditto) (02/09/89)

In article <804@sas.UUCP> toebes@sas.UUCP (John Toebes) writes:
[  while(p) { free(p); p = p->next; }  ]
> is required to work for any UN*X compatible memory manager.

As an example of the trouble of supporting programs that use this, note
that System V has two complete implementations of malloc():  One is much
faster but does not guarantee to maintain the contents of freed memory.
The slower (but more compatible) version is the default.
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto@cbmvax.commodore.com