zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: initialize dparr.
Date: 05 May 1999 10:39:45 +0900	[thread overview]
Message-ID: <rsqk8uoe1lq.fsf@crane.jaist.ac.jp> (raw)

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


             reply	other threads:[~1999-05-05  1:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-05  1:39 Tanaka Akira [this message]
1999-05-05  2:08 ` PATCH: remove warnings from pws 17 Wayne Davison

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=rsqk8uoe1lq.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --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).