freebsd-dev/bin/sh
Stefan Farfeleder 4ee9cb0e26 Pass the EV_TESTED flag to evalloop() and evalfor(). This fixes unwanted
termination with set -e if a command fails in a loop body inside a function
with an explicitely tested exit status, eg

	f() {
		for i in 1 2 3; do
			false
		done
	}
	f || true

Briefly reviewed by:	cracauer
2005-09-10 08:25:28 +00:00
..
bltin Declare echocmd() and testcmd(). 2005-08-13 15:04:30 +00:00
funcs /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
alias.c Return 1 from the unalias builtin if _any_ removal fails, not just the last 2005-09-02 22:43:28 +00:00
alias.h
arith_lex.l cvs -d stefanf@ncvs.FreeBSD.org:/home/ncvs 2005-08-13 07:54:23 +00:00
arith.h cvs -d stefanf@ncvs.FreeBSD.org:/home/ncvs 2005-08-13 07:54:23 +00:00
arith.y cvs -d stefanf@ncvs.FreeBSD.org:/home/ncvs 2005-08-13 07:54:23 +00:00
builtins.def /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
cd.c
cd.h
error.c
error.h
eval.c Pass the EV_TESTED flag to evalloop() and evalfor(). This fixes unwanted 2005-09-10 08:25:28 +00:00
eval.h
exec.c Use prototypes in the MKINIT lines collected by mkinit. 2005-08-13 08:12:18 +00:00
exec.h
expand.c Various small code cleanups resulting from a code reviewing 2005-09-06 19:30:00 +00:00
expand.h
histedit.c El_parse's third parameter is now const-qualified, add a cast. 2005-08-11 20:28:26 +00:00
init.h
input.c
input.h
jobs.c Print pointers with %p rather than casting them to long. 2005-09-05 17:57:19 +00:00
jobs.h
mail.c Include missing headers. 2005-08-13 08:26:58 +00:00
mail.h
main.c
main.h
Makefile Recent cleanups made it possible to bump WARNS to 3. 2005-08-14 07:46:56 +00:00
memalloc.c
memalloc.h
miscbltin.c Fix the error message if the mask that is passed to umask -S contains 2005-09-09 19:59:41 +00:00
mkbuiltins Use prototypes in the generated builtins.{c,h} files. 2005-08-13 08:09:22 +00:00
mkinit.c - Provide all initialisers for a struct event. 2005-08-13 08:38:02 +00:00
mknodes.c
mksyntax.c Put the comparison with PEOF into a new macro is_eof(). Don't use it if the 2005-08-13 15:47:13 +00:00
mktokens /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
options.c A second attempt to adjust option-parsing on a shell command, for the 2005-05-16 04:32:41 +00:00
options.h
output.c
output.h
parser.c Remove a hack for an ancient gdb. 2005-08-15 17:49:38 +00:00
parser.h
redir.c
redir.h
sh.1 Split the export synopsis into two lines as -p cannot be mixed with variable 2005-09-09 21:06:03 +00:00
shell.h
show.c Remove extra getenv() declaration. 2005-09-02 22:28:27 +00:00
show.h
TOUR
trap.c Various small code cleanups resulting from a code reviewing 2005-09-06 19:30:00 +00:00
trap.h
var.c - Provide a reasonable error message for `export -p var'. 2005-09-09 21:03:34 +00:00
var.h