NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38584: bin/sh: 'set -e' + pipe



The following reply was made to PR bin/38584; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/38584: bin/sh: 'set -e' + pipe
Date: Sat, 24 May 2008 18:37:51 +0300

 In 2005 the same bug was in FreeBSD's /bin/sh
 
 eval.c revision 1.44:
   Exit the shell if a pipeline that is not preceded by ! fails and set
   -e is active.  Use a separate flag to avoid adding another condition
   to the if-statement at the end of evaltree().
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index