zsh-workers
 help / color / mirror / code / Atom feed
* Re: bugs
       [not found] <199606110946.LAA10279@bolyai.cs.elte.hu>
@ 1996-06-11 11:16 ` Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1996-06-11 11:16 UTC (permalink / raw)
  To: Zsh hackers list

hzoli@cs.elte.hu wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> > Now here's another bug:
> > 
> > I type:
> > echo $ZSH_
> > then I type TAB 3 times. Here's what I get:
> > 
> > Allo? echo $ZSH_
> > ZSH_NAME     ZSH_VERSION
> > Allo? echo $ZSH_NAMEBUG: permanent allocation in parsestr
> > BUG: permanent allocation in prefork                                       
>  VERSION
> 
> Here is the fix.

There's another one in reversemenucomplete() which needs just the same
treatment.  I'd just made a patch for both, I can't be bothered to
extract the second one.

I was going to make the comment that all these permalloc()'s and so on
buried deep inside the code give me the screaming heebeejeebees (or
whatever it is you're supposed to get).  We really need to upgrade
permalloc(), heapalloc() and lastalloc() to use a stack, so we can
have matching heapalloc()/lastalloc() pairs at any depth in the code,
and these functions get called only when they're actually needed.
Then you have to manage the allocation of this stack, of course.

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-11 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199606110946.LAA10279@bolyai.cs.elte.hu>
1996-06-11 11:16 ` bugs Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).