zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: Runaway Shell (bug>)
Date: Fri, 21 Jun 1996 11:00:30 +0200	[thread overview]
Message-ID: <199606210900.LAA17786@hydra.ifh.de> (raw)
In-Reply-To: "gene@bear.com"'s message of "Thu, 20 Jun 1996 10:41:35 MET." <9606201441.AA28450@bear.com> --------

gene@bear.com wrote:
> Hi:
> 
>    I have the following in beta 21 on hpux 2/700 9.01. If I (mis)type the 
> following silly line, I get an untinterruptable runway shell.
> 
> ps -eaf | gre[ foo

Nasty.  With NO_BAD_PATTERN, exec.c around line 1177 is repeatedly
globbing the same line because it is always returned containing
tokens.  Any problem with the having NOBADPATTERN untokenize at that
point?  As globbing is the last operation, I can't see any.

The non-interruptibility is a different bug, but that's now traditional.

*** Src/glob.c.bad	Tue Jun 18 20:09:22 1996
--- Src/glob.c	Fri Jun 21 10:54:22 1996
***************
*** 516,521 ****
--- 516,522 ----
      q = parsepat(str);
      if (!q || errflag) {	/* if parsing failed */
  	if (isset(NOBADPATTERN)) {
+ 	    untokenize(ostr);
  	    insertlinknode(list, node, ostr);
  	    return;
  	}

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



  reply	other threads:[~1996-06-21  9:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-20 14:41 gene
1996-06-21  9:00 ` Peter Stephenson [this message]
1996-06-21 12:17   ` Zoltan Hidvegi

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=199606210900.LAA17786@hydra.ifh.de \
    --to=pws@ifh.de \
    --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).