Bourne again (more on memory allocation)

Pekka Nousiainen peno at enea.UUCP
Mon Dec 2 14:06:56 AEST 1985


The recent discussion on the "wacky" memory allocation of sh
got me into looking again at our Genix 4.1 sh which always hangs
in long scripts.  Sure enough, where it loops is in the statement

	WHILE !busy(q = p->word) DO p->word = q->word OD

at the beginning of alloc (really malloc, in blok.c).  Increasing
the constants in brkincr.h seemed to help a bit but I'd like to
have a real fix.  Our machine is pretty flakey in all respects so
this may not occur as often on other Genix 4.1 implementations.

---
Address:  ...!mcvax!enea!peno.



More information about the Comp.unix.wizards mailing list