HardenedBSD/bin/sh
Marcel Moolenaar 937b0a997b Work better with how make/bmake works:
1.  Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make
    will first cd into ${.OBJDIR}. Keep the cwd to what make sets it to.
2.  Don't tell mkbuiltins where to write to (= ${.OBJDIR}), but where to
    get sources from (= ${.CURDIR}). This to compensate for point 1.

This fixes a problem with bmake's mk files that optimize ${.OBJDIR} to
expand to "." after changing cwd, not taking into account that the
target is pretty much undoing that and not getting the full path to the
object tree anymore.
2012-05-24 19:48:15 +00:00
..
bltin
funcs sh: Remove "kill" example function, which is superseded by the kill builtin 2012-01-21 20:39:17 +00:00
alias.c
alias.h
arith_yacc.c Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. 2012-01-25 08:42:19 +00:00
arith_yacc.h
arith_yylex.c Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. 2012-01-25 08:42:19 +00:00
arith.h
builtins.def
cd.c
cd.h
error.c
error.h
eval.c sh: Use vfork in a few common cases. 2012-02-04 23:12:14 +00:00
eval.h sh: Fix execution of multiple statements in a trap when evalskip is set 2012-01-16 11:07:46 +00:00
exec.c sh: Make 'hash' return 1 if at least one utility is not found. 2012-02-11 21:06:45 +00:00
exec.h
expand.c
expand.h
histedit.c Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. 2012-01-25 08:42:19 +00:00
init.h
input.c
input.h
jobs.c sh: Fix build with -DDEBUG=2. 2012-04-02 17:16:24 +00:00
jobs.h sh: Use vfork in a few common cases. 2012-02-04 23:12:14 +00:00
mail.c
mail.h
main.c
main.h
Makefile Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
memalloc.c
memalloc.h
miscbltin.c sh: Remove an unused header. 2012-05-15 22:50:47 +00:00
mkbuiltins Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
mkinit.c
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 Minor mdoc nits. 2012-05-13 14:16:04 +00:00
shell.h
show.c
show.h
TOUR
trap.c sh: Fix execution of multiple statements in a trap when evalskip is set 2012-01-16 11:07:46 +00:00
trap.h
var.c sh: Fix swapped INTON/INTOFF. 2012-02-04 23:29:07 +00:00
var.h sh: Use vfork in a few common cases. 2012-02-04 23:12:14 +00:00