NetBSD/bin/sh
dsl f712e70aee expbackq() was incorrectly backing up a temporary buffer when removing \n
from the end of output of commands inside $(...) substitutions.
If the program output is n*128+1 bytes long (ending in a \n) then the code
checks buf[-1] for another \n - looking an uninitialised stack.
On a big-endian system an integer of value 10 will satisfy this (unlikely
on little endian) and can happen depending on the last code path to use
a lot of stack!
This caused the problem with newvers.sh on sparc64 after ', 2005' was
added to the date list.
Fixed PR/28852
2005-02-14 20:46:26 +00:00
..
bltin remove obsolete register declarations 2005-02-06 04:43:43 +00:00
funcs
Makefile Pass WARNS=3 2004-10-30 19:29:27 +00:00
TOUR
alias.c
alias.h
arith.y
arith_lex.l
builtins.def Add new builtin `wordexp' to support wordexp(3). 2004-07-13 15:05:59 +00:00
cd.c Posix requires that 'pwd -P' reset the shells saved cwd value - so a 2003-11-14 20:00:28 +00:00
cd.h
error.c
error.h
eval.c Pass WARNS=3 2004-10-30 19:29:27 +00:00
eval.h
exec.c
exec.h
expand.c expbackq() was incorrectly backing up a temporary buffer when removing \n 2005-02-14 20:46:26 +00:00
expand.h Add new builtin `wordexp' to support wordexp(3). 2004-07-13 15:05:59 +00:00
histedit.c skip a leading `-' on the arg0 name when calling el_init() 2003-10-27 06:19:29 +00:00
init.h
input.c
input.h
jobs.c PR/23786: Robert Nestor: wait command returns the wrong status code. This 2003-12-18 00:56:05 +00:00
jobs.h Generate command line when SMALL is defined and make buffer full sized. 2003-11-27 21:16:14 +00:00
machdep.h
mail.c
mail.h
main.c
main.h
memalloc.c
memalloc.h
miscbltin.c Correct the description of sbsize; it is parsed in bytes not kbytes. 2004-04-19 01:36:32 +00:00
miscbltin.h
mkbuiltins don't include the printf builtin if we are SMALL; saves 10K. 2004-06-06 07:03:11 +00:00
mkinit.sh Use shell variables to get '(' and '\' inside shell substitution patterns. 2004-06-15 23:09:54 +00:00
mknodes.sh Replace the C program mknodes.c with a shell script mknodes.sh 2004-01-16 23:24:38 +00:00
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat Change '\0' to 0 so that the SVR4 'echo' doesn't convert it to a null byte. 2004-06-15 22:57:27 +00:00
nodetypes
options.c Pass WARNS=3 2004-10-30 19:29:27 +00:00
options.h
output.c
output.h
parser.c Fix treatment of ' inside a 'here document' with a quoted EOF marker. 2004-06-27 10:27:57 +00:00
parser.h Correctly apply IFS to unquoted text in ${x-text}. 2004-06-26 22:09:49 +00:00
redir.c PR/25699: David Laight: sh(1) hangs opening a named pipe as stdin for 2004-07-08 03:57:33 +00:00
redir.h
sh.1 Fix typo: and the -> and then 2004-06-03 19:54:37 +00:00
shell.h
show.c This seems to need stdlib.h to get a prototype for abort(). 2003-11-14 10:46:13 +00:00
show.h
syntax.c Put a syntax.c under CVS instead of building if with the mksyntax program. 2004-01-17 17:38:12 +00:00
syntax.h Put a syntax.c under CVS instead of building if with the mksyntax program. 2004-01-17 17:38:12 +00:00
trap.c PR/28940: David Laight: /bin/sh doesn't quote the output of trap. 2005-01-11 19:38:57 +00:00
trap.h
var.c Fix a bug introduced by previous commit. It breaks export command 2004-10-06 10:23:43 +00:00
var.h Save the length of each variable in the name table so that we can 2004-10-02 12:16:53 +00:00