freebsd_amp_hwpstate/bin/sh
Jilles Tjoelker 2935c4cc5e sh: Make return return from the closest function or dot script.
Formerly, return always returned from a function if it was called from a
function, even if there was a closer dot script. This was for compatibility
with the Bourne shell which only allowed returning from functions.

Other modern shells and POSIX return from the function or the dot script,
whichever is closest.

Git 1.8.4's rebase --continue depends on the POSIX behaviour.

Reported by:	Christoph Mallon, avg
2013-09-04 22:10:16 +00:00
..
bltin
funcs
Makefile
TOUR
alias.c
alias.h
arith.h
arith_yacc.c
arith_yacc.h
arith_yylex.c
builtins.def
cd.c
cd.h
error.c
error.h
eval.c sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
eval.h sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
exec.c
exec.h
expand.c
expand.h
histedit.c
input.c
input.h
jobs.c
jobs.h
mail.c
mail.h
main.c sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
main.h
memalloc.c
memalloc.h
miscbltin.c
mkbuiltins
mknodes.c
mksyntax.c
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c
options.h
output.c
output.h
parser.c
parser.h
redir.c
redir.h
sh.1 sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
shell.h
show.c
show.h
trap.c
trap.h
var.c
var.h