zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: bugs
Date: Tue, 11 Jun 1996 13:16:41 +0200	[thread overview]
Message-ID: <199606111116.NAA21006@hydra.ifh.de> (raw)
In-Reply-To: "hzoli@cs.elte.hu"'s message of "Tue, 11 Jun 1996 11:46:39 MET." <199606110946.LAA10279@bolyai.cs.elte.hu>

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.



           reply	other threads:[~1996-06-11 11:46 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199606110946.LAA10279@bolyai.cs.elte.hu>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199606111116.NAA21006@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).