zsh-workers
 help / color / mirror / code / Atom feed
* COMPLETE_IN_WORD dumps core if built-in functions match
@ 1995-07-29 14:22 Thorsten Meinecke
  1995-08-07 11:51 ` COMPLETE_IN_WORD dumps core if reserved word match Thorsten Meinecke
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Meinecke @ 1995-07-29 14:22 UTC (permalink / raw)
  To: zsh-workers

Please consider this:

  aglaia:~/wrk/zsh/zsh-2.6-beta10/Src> gdb ./zsh   
[blurb]
  (gdb) set args -f
  (gdb) r
  Starting program: /u/home/kaefer/wrk/zsh/zsh-2.6-beta10/Src/./zsh -f
  aglaia:~/wrk/zsh/zsh-2.6-beta10/Src> setopt autolist completeinword 
  aglaia:~/wrk/zsh/zsh-2.6-beta10/Src> rt
                                        ^
[cursor position is here, and completion requested]

  Program received signal SIGSEGV, Segmentation fault.
  0x804ed39 in addmatch (s=0x8059424 "epeat", t=0x8059424 "epeat")
      at zle_tricky.c:1524
  1524                *e = '\0';
  (gdb)

The obvious way around (at least for GCC) is to recompile with
-fwritable-strings.
Can anyone more proficient in zle_tricky.c hackery comment on this?
-- 
Thorsten Meinecke
<kaefer@aglaia.snafu.de>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-08-08 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-07-29 14:22 COMPLETE_IN_WORD dumps core if built-in functions match Thorsten Meinecke
1995-08-07 11:51 ` COMPLETE_IN_WORD dumps core if reserved word match Thorsten Meinecke
1995-08-07 14:06   ` Zoltan Hidvegi
1995-08-08 11:36   ` P.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).