* bindkey: autoload failed
@ 1999-06-27 6:19 Tanaka Akira
1999-06-27 14:41 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Tanaka Akira @ 1999-06-27 6:19 UTC (permalink / raw)
To: zsh-workers
I found a problem in pws-24 with --enable-dynamic on Solaris 7.
Last login: Sun Jun 27 14:57:49 from localhost
Sun Microsystems Inc. SunOS 5.7 Generic October 1998
is27e1u11% pwd
/space/home/akr_csh
is27e1u11% who am i
akr_csh pts/36 Jun 27 14:58 (localhost)
is27e1u11% ls -a
. .. .rhosts .zshrc
is27e1u11% cat .zshrc
a=(bindkey -e)
$a
is27e1u11% /app/zsh-3.1.5-pws-24/bin/zsh
/space/home/akr_csh/.zshrc: bindkey: autoload failed [2]
is27e1u11% echo $ZSH_VERSION
3.1.5-pws-24
is27e1u11% ps -p $$
PID TTY TIME CMD
20478 pts/36 0:00 zsh
is27e1u11%
If .zshrc calls "bindkey -e" directly, zsh works well.
# I used egcs-1.1.2 to compile zsh on Solaris 7. It seems work.
--
Tanaka Akira
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bindkey: autoload failed
1999-06-27 6:19 bindkey: autoload failed Tanaka Akira
@ 1999-06-27 14:41 ` Peter Stephenson
1999-06-27 15:37 ` Tanaka Akira
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 1999-06-27 14:41 UTC (permalink / raw)
To: zsh-workers
Tanaka Akira wrote:
> is27e1u11% cat .zshrc
> a=(bindkey -e)
> $a
> is27e1u11% /app/zsh-3.1.5-pws-24/bin/zsh
> /space/home/akr_csh/.zshrc: bindkey: autoload failed [2]
I can't get this to happen however hard I try, so something different is
happending somewhere. But maybe the following patch fixes it?
--- Src/exec.c.hfn Sat Jun 26 17:17:22 1999
+++ Src/exec.c Sun Jun 27 16:30:21 1999
@@ -1584,8 +1584,10 @@
is_builtin = 1;
#ifdef DYNAMIC
/* autoload the builtin if necessary */
- if (!((Builtin) hn)->handlerfunc)
+ if (!((Builtin) hn)->handlerfunc) {
load_module(((Builtin) hn)->optstr);
+ hn = builtintab->getnode(builtintab, cmdarg);
+ }
#endif
break;
}
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bindkey: autoload failed
1999-06-27 14:41 ` Peter Stephenson
@ 1999-06-27 15:37 ` Tanaka Akira
0 siblings, 0 replies; 3+ messages in thread
From: Tanaka Akira @ 1999-06-27 15:37 UTC (permalink / raw)
To: zsh-workers
In article <9906271441.AA27209@ibmth.df.unipi.it>,
Peter Stephenson <pws@ibmth.df.unipi.it> writes:
> I can't get this to happen however hard I try, so something different is
> happending somewhere. But maybe the following patch fixes it?
Yes. It fix the bug. Thanks.
--
Tanaka Akira
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-06-27 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-27 6:19 bindkey: autoload failed Tanaka Akira
1999-06-27 14:41 ` Peter Stephenson
1999-06-27 15:37 ` Tanaka Akira
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).