zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: initialize dparr.
@ 1999-05-05  1:39 Tanaka Akira
  1999-05-05  2:08 ` PATCH: remove warnings from pws 17 Wayne Davison
  0 siblings, 1 reply; 2+ messages in thread
From: Tanaka Akira @ 1999-05-05  1:39 UTC (permalink / raw)
  To: zsh-workers

zsh-3.1.5-pws-17 dumps core with following operation on Solaris7 and gcc-2.8.1.
# --enable-zsh-debug prevents core dump.

Z(2):akr@is27e1u11% Src/zsh  -f
is27e1u11% cat <<'End' > Completion/User/_tst
heredoc> #compdef tst
heredoc> l=(a b)
heredoc> compadd $l
heredoc> End
is27e1u11% fpath=($PWD/Completion/*(/))
is27e1u11% . Completion/Core/compinit 
is27e1u11% tst <TAB>a<TAB>zsh: bus error (core dumped)  Src/zsh -f
Z(2):akr@is27e1u11% 

--- Src/Zle/zle_tricky.c-	Wed May  5 10:23:20 1999
+++ Src/Zle/zle_tricky.c	Wed May  5 10:23:57 1999
@@ -3524,7 +3524,7 @@
 addmatches(Cadata dat, char **argv)
 {
     char *s, *ms, *lipre = NULL, *lisuf = NULL, *lpre = NULL, *lsuf = NULL;
-    char **aign = NULL, **dparr;
+    char **aign = NULL, **dparr = NULL;
     int lpl, lsl, pl, sl, bpl, bsl, llpl = 0, llsl = 0, nm = mnum;
     int oisalt = 0, isalt, isexact, doadd;
     Cline lc = NULL;

-- 
Tanaka Akira


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

end of thread, other threads:[~1999-05-05  2:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-05  1:39 PATCH: initialize dparr Tanaka Akira
1999-05-05  2:08 ` PATCH: remove warnings from pws 17 Wayne Davison

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).