From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id RAA16585 for ; Mon, 5 Jun 1995 17:56:36 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA01277 (5.65c/Gatech-10.0-IDA for ); Mon, 5 Jun 1995 03:54:35 -0400 Received: by math (5.x/SMI-SVR4) id AA08344; Mon, 5 Jun 1995 03:52:20 -0400 Resent-Date: Mon, 5 Jun 1995 09:52:05 +0200 (MET DST) Old-Return-Path: From: heiko@pool.informatik.rwth-aachen.de (Heiko Schroeder) Message-Id: <9506050752.AA12915@messua> Subject: Small bug in zsh 2.6beta9 To: zsh-workers@math.gatech.edu Date: Mon, 5 Jun 1995 09:52:05 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL21] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-Id: <"DSvuq.0.I22.pUhql"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/71 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi! I found a small bug in zsh 2.6beta9. In the file exec.c, line 493, the line if (ornext ^ ret) { should read if (ornext ^ (ret!=0)) { to get the documented behaviour of && and || in regard to being true for values not equal to zero. CU Heiko -- ----------------------------------------------------------------------------- Email: | Snail-mail: | Heiko Schroeder heiko@pool.informatik.rwth-aachen.de | Lerchenweg 120 | 52223 Stolberg | GERMANY -----------------------------------------------------------------------------