mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
![]() We cannot just compare histsizeval() against 0, since that returns a string pointer, which is always non-zero (non-null). The logic in sethistsize() initializes the history size to 100 with values that are non-number, and an empty string counts as that. Therefore, the only time we want to not write into history with HISTSIZE val set is when it's explicitly 0. MFC after: 2 weeks |
||
---|---|---|
.. | ||
bltin | ||
funcs | ||
tests | ||
alias.c | ||
alias.h | ||
arith.h | ||
arith_yacc.c | ||
arith_yacc.h | ||
arith_yylex.c | ||
builtins.def | ||
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 | ||
input.c | ||
input.h | ||
jobs.c | ||
jobs.h | ||
mail.c | ||
mail.h | ||
main.c | ||
main.h | ||
Makefile | ||
Makefile.depend | ||
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 | ||
profile | ||
redir.c | ||
redir.h | ||
sh.1 | ||
shell.h | ||
show.c | ||
show.h | ||
TOUR | ||
trap.c | ||
trap.h | ||
var.c | ||
var.h |