Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Small bug in zsh 2.6beta9



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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |    Lerchenweg 120
                                         |    52223 Stolberg
                                         |    GERMANY
-----------------------------------------------------------------------------



Messages sorted by: Reverse Date, Date, Thread, Author