Subject: CVS commit: basesrc/bin/ksh
To: None <source-changes@netbsd.org>
From: Thomas Klausner <wiz@netbsd.org>
List: source-changes
Date: 09/29/2001 18:05:48
Module Name: basesrc
Committed By: wiz
Date: Sat Sep 29 15:05:47 UTC 2001
Modified Files:
basesrc/bin/ksh: exec.c
Log Message:
Bring in pdksh-5.2.14-patches.2.
ChangeLog entry:
Mon Jan 29 10:12:31 NST 2001 Michael Rendell (michael@garfield.cs.mun.ca)
* c_exec.c(execute): added rv_prop flag to prevent if/while/for/...
in the presence of "set -e" from causing the shell to exit.
Example:
set -e
(false && echo hi)
[exits shell though it shouldn't]
ChangeLog and example provided by pdksh maintainer, Michael Rendell.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/bin/ksh/exec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.