Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug (?) in 3.0-pre1
- X-seq: zsh-workers 1484
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: bug (?) in 3.0-pre1
- Date: Sat, 29 Jun 1996 12:13:55 -0700
- In-reply-to: Zoltan Hidvegi <hzoli@xxxxxxxxxx> "Re: bug (?) in 3.0-pre1" (Jun 28, 7:50pm)
- References: <199606281750.TAA02803@xxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Jun 28, 7:50pm, Zoltan Hidvegi wrote:
} Subject: Re: bug (?) in 3.0-pre1
}
} I added an additional test to doshfunc() which revealed a memory leak
} again. Below is the patch to fix that.
Once again, I ask: Might it not be better to add at the top of doshfunc:
int luh = useheap;
if (!luh)
heapalloc();
and then before returning:
if (!luh)
permalloc();
Seems like almost any of the MUSTUSEHEAP() functions should adjust and
then restore the allocation strategy internally, rather than relying on
every caller to do so ...
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author