zsh-workers
 help / color / mirror / code / Atom feed
From: P.Stephenson@swansea.ac.uk
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: Small bug in zsh 2.6beta9
Date: Mon, 05 Jun 95 10:37:34 +0100	[thread overview]
Message-ID: <21569.9506050937@pyro.swan.ac.uk> (raw)
In-Reply-To: "heiko@pool.informatik.rwth-aachen.de"'s message of "Mon, 05 Jun 95 09:52:05 +0200." <9506050752.AA12915@messua>

heiko@pool.informatik.rwth-aachen.de wrote:
> In the file exec.c, line 493, the line
> 
>     if (ornext ^ ret) {
> 
> should read
> 
>     if (ornext ^ (ret!=0)) {

You're quite right --- this is my fault again.  Here's an actual patch
for that.

*** Src/exec.c.ret	Mon Jun  5 10:16:14 1995
--- Src/exec.c	Mon Jun  5 10:34:30 1995
***************
*** 506,512 ****
  	     */
  	    ornext = (slist->type == ORNEXT);
  
! 	    if (ornext ^ ret) {
  		/*
  		 * If either (1) it's an or, and the return code
  		 * was zero, or (2) it's an and, and the return
--- 506,512 ----
  	     */
  	    ornext = (slist->type == ORNEXT);
  
! 	    if (ornext ^ (ret != 0)) {
  		/*
  		 * If either (1) it's an or, and the return code
  		 * was zero, or (2) it's an and, and the return

-- 
Peter Stephenson <P.Stephenson@swansea.ac.uk>  Tel: +44 1792 205678 extn. 4461
WWW:  http://python.swan.ac.uk/~pypeters/      Fax: +44 1792 295324
Department of Physics, University of Wales, Swansea,
Singleton Park, Swansea, SA2 8PP, U.K.


  reply	other threads:[~1995-06-05  9:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-05  7:52 Heiko Schroeder
1995-06-05  9:37 ` P.Stephenson [this message]
1995-06-07  9:40   ` Zvi Har'El
1995-06-07 10:10     ` Bas V. de Bakker

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=21569.9506050937@pyro.swan.ac.uk \
    --to=p.stephenson@swansea.ac.uk \
    --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).