1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00
freebsd/bin/sh
Jilles Tjoelker 9f9c9549fd sh: Assert INTOFF rather than applying it in ck*
As I noted in https://reviews.freebsd.org/D22756, INTOFF should be in effect
when calling ckmalloc/ckrealloc/ckfree to avoid memory leaks and double
frees. Therefore, change the functions to check if INTOFF is in effect
instead of applying it.

Reviewed by:	bdrewery
Differential Revision:	https://reviews.freebsd.org/D24599
2020-04-28 20:34:27 +00:00
..
bltin
funcs
tests
alias.c
alias.h
arith_yacc.c
arith_yacc.h
arith_yylex.c
arith.h
builtins.def sh: Remove remnants to compile out fc completely 2020-04-22 21:45:43 +00:00
cd.c
cd.h
dot.profile
dot.shrc
error.c
error.h
eval.c
eval.h
exec.c
exec.h
expand.c
expand.h
histedit.c Fix build with NO_HISTORY set 2020-04-21 00:37:55 +00:00
input.c sh: remove duplicate el definition 2020-03-28 17:02:32 +00:00
input.h
jobs.c
jobs.h
mail.c
mail.h
main.c
main.h
Makefile Bump WARNS for sh(1). 2020-04-01 15:12:51 +00:00
Makefile.depend
memalloc.c sh: Assert INTOFF rather than applying it in ck* 2020-04-28 20:34:27 +00:00
memalloc.h
miscbltin.c [sh] Fix a "may be unused" warning on mips-gcc 2020-04-16 23:31:39 +00:00
mkbuiltins sh: Remove remnants to compile out fc completely 2020-04-22 21:45:43 +00:00
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
profile
redir.c
redir.h
sh.1
shell.h
show.c
show.h
TOUR
trap.c
trap.h
var.c
var.h