From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _value
Date: Tue, 2 Nov 1999 14:00:13 +0100 (MET) [thread overview]
Message-ID: <199911021300.OAA31323@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 02 Nov 1999 21:50:41 +0900
Tanaka Akira wrote:
> I wrote _value to complete values for parameter assignments.
>
> And I found a problem with this. When I try the completion by _value
> first time, it is failed and "funcstack wrapper with wrong function"
> is displayed. Since second time, there is no problem.
And thus the parameter module revealed a bug in the function calling
code: it didn't dup the name and when the function was re-defined, the
name in use by the wrappers was freed.
Bye
Sven
--- oldsrc/exec.c Mon Nov 1 09:03:16 1999
+++ Src/exec.c Tue Nov 2 13:57:30 1999
@@ -3018,7 +3018,7 @@
argzero = ztrdup(argzero);
}
}
- runshfunc(list, wrappers, name);
+ runshfunc(list, wrappers, dupstring(name));
if (retflag) {
retflag = 0;
breaks = obreaks;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-11-02 13:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-02 13:00 Sven Wischnowsky [this message]
1999-11-02 14:20 ` Tanaka Akira
-- strict thread matches above, loose matches on Subject: below --
1999-11-02 15:11 Sven Wischnowsky
1999-11-02 12:50 Tanaka Akira
1999-11-02 14:05 ` Tanaka Akira
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=199911021300.OAA31323@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).