zsh-workers
 help / color / mirror / code / Atom feed
* Small bug in zsh 2.6beta9
@ 1995-06-05  7:52 Heiko Schroeder
  1995-06-05  9:37 ` P.Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Heiko Schroeder @ 1995-06-05  7:52 UTC (permalink / raw)
  To: zsh-workers


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
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-06-07 10:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-05  7:52 Small bug in zsh 2.6beta9 Heiko Schroeder
1995-06-05  9:37 ` P.Stephenson
1995-06-07  9:40   ` Zvi Har'El
1995-06-07 10:10     ` Bas V. de Bakker

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).