99907703d9
output buffer, don't insert them at all. This prevents a buffer *underrun* when the substitution consists completely of newlines (e.g. `echo`) and the byte before the source buffer to which p points is a '\n', in which case more characters would be removed from the output buffer than were inserted. This fixes certain port builds on sparc64. Approved by: re (scottl) Reviewed by: des, tjr |
||
---|---|---|
.. | ||
bltin | ||
funcs | ||
alias.c | ||
alias.h | ||
arith_lex.l | ||
arith.h | ||
arith.y | ||
builtins.def | ||
cd.c | ||
cd.h | ||
error.c | ||
error.h | ||
eval.c | ||
eval.h | ||
exec.c | ||
exec.h | ||
expand.c | ||
expand.h | ||
histedit.c | ||
init.h | ||
input.c | ||
input.h | ||
jobs.c | ||
jobs.h | ||
mail.c | ||
mail.h | ||
main.c | ||
main.h | ||
Makefile | ||
memalloc.c | ||
memalloc.h | ||
miscbltin.c | ||
mkbuiltins | ||
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 | ||
shell.h | ||
show.c | ||
show.h | ||
TOUR | ||
trap.c | ||
trap.h | ||
var.c | ||
var.h |