zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: carl.johnson@nautronix.com.au (Carl Johnson),
	zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: zsh-3.0.2 core'ing + a small feature request
Date: Tue, 18 Feb 1997 09:56:25 +0100	[thread overview]
Message-ID: <199702180856.JAA16888@hydra.ifh.de> (raw)
In-Reply-To: "Carl Johnson"'s message of "Tue, 18 Feb 1997 15:44:40 MET." <199702180744.PAA19763@b2.nixltd.com.au>

Carl Johnson wrote:
> hi,
> i am not on any of the zsh lists so please cc me on any replies.
> 
> zsh-3.0.2 and solaris 2.5.1
> when i do....
> 
> 1> ls -al
> 2> vared -h 1
> 3> <esc>k
> which gets me the ls -al line again, then hit return and it cores, every time
> .

The fix seems to be fairly simple.  (I didn't even know this was
supported, but looking at the code it certainly should be.)

*** Src/Zle/zle_main.c.vn	Sun Jan 12 01:46:43 1997
--- Src/Zle/zle_main.c	Tue Feb 18 09:39:53 1997
***************
*** 613,619 ****
  	t[strlen(t) - 1] = '\0';
      /* final assignment of parameter value */
      pm = (Param) paramtab->getnode(paramtab, args[0]);
!     if (PM_TYPE(pm->flags) == PM_ARRAY) {
  	PERMALLOC {
  	    setaparam(args[0], spacesplit(t, 1));
  	} LASTALLOC;
--- 613,619 ----
  	t[strlen(t) - 1] = '\0';
      /* final assignment of parameter value */
      pm = (Param) paramtab->getnode(paramtab, args[0]);
!     if (pm && PM_TYPE(pm->flags) == PM_ARRAY) {
  	PERMALLOC {
  	    setaparam(args[0], spacesplit(t, 1));
  	} LASTALLOC;

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.


  reply	other threads:[~1997-02-18  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-18  7:44 Carl Johnson
1997-02-18  8:56 ` Peter Stephenson [this message]
1997-02-18  9:47   ` Bart Schaefer
1997-02-18  9:52   ` Bart Schaefer

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=199702180856.JAA16888@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=carl.johnson@nautronix.com.au \
    --cc=zsh-workers@math.gatech.edu \
    /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).