NetBSD/bin/sh
christos dde7426849 From David Laight
> The wrong process is aborting when variable assignment fails
> in the vfork path.  So the following command fails to execute
> the second echo (shown here with the correct output).
>
> $ (readonly r; r= /bin/echo a; echo b)
> r: is read only
> b
>
> fix: defer the mklocal() to the child shell.
2002-10-23 19:46:34 +00:00
..
bltin Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
funcs
alias.c
alias.h
arith_lex.l
arith.y remove redundant declaration of yyparse, and move code to the bottom of 2001-02-04 19:51:43 +00:00
builtins.def PR/9847: Geoff C. Wing: Make test(1) a builtin. 2000-04-09 23:27:03 +00:00
cd.c Plug a memory leak when setting PWD -- don't mark the variable with 2001-11-14 18:04:36 +00:00
cd.h
error.c Clean up INTOFF/INTON usage a little -- none of fork{shell,parent,child}() 2002-09-27 21:32:24 +00:00
error.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
eval.c From David Laight 2002-10-23 19:46:34 +00:00
eval.h Revert previous change. No need to save rootshell. It is only affecting 2002-09-28 01:25:01 +00:00
exec.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
exec.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
expand.c Revert previous change. No need to save rootshell. It is only affecting 2002-09-28 01:25:01 +00:00
expand.h
histedit.c get rid of sp completely, we were free-ing a bogus pointer; found by simonb. 2002-03-12 00:14:31 +00:00
init.h
input.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
input.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
jobs.c From David Laight: 2002-10-23 19:46:06 +00:00
jobs.h Revert previous change. No need to save rootshell. It is only affecting 2002-09-28 01:25:01 +00:00
machdep.h explain what's breaking with alignments > 16, but no fix yet. 2002-10-07 14:26:08 +00:00
mail.c include <stdlib.h>, <string.h>, or whatever as appropriate to shut up 2000-07-03 03:26:17 +00:00
mail.h
main.c Revert previous change. No need to save rootshell. It is only affecting 2002-09-28 01:25:01 +00:00
main.h
Makefile Use "unsigned char" and "char" instead of "u_int8_t" and "int8_t" 2002-09-15 00:19:22 +00:00
memalloc.c - it is wrong to put inton/intoff arount ckmalloc(), because the code 2002-10-07 14:26:49 +00:00
memalloc.h PR/11283: Hubert Feyrer: random memory corruption executing commands: 2000-11-01 19:56:01 +00:00
miscbltin.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
miscbltin.h
mkbuiltins don't compile in `-h' as a synonym for the command that the argument is for. 2002-10-15 04:15:58 +00:00
mkinit.c host program portability: don't use <sys/cdefs.h>, __COPYRIGHT(), 2000-07-18 19:13:20 +00:00
mknodes.c Rename ALIGN to SHELL_ALIGN and simplify macro so that it does not have side 2002-10-04 13:15:51 +00:00
mksyntax.c deal with char c; c != -129 warning. Hi jason! 2002-05-31 16:18:48 +00:00
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat Rename ALIGN to SHELL_ALIGN and simplify macro so that it does not have side 2002-10-04 13:15:51 +00:00
nodetypes implement noclobber. From Ben Harris, with minor tweaks from me. Two 2002-05-15 16:33:35 +00:00
options.c Fix command name in error message for 'sh nonexistingfile'. 2001-02-26 13:06:43 +00:00
options.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
output.c __STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and 2002-05-25 23:09:06 +00:00
output.h __STDC__ is always defined on NetBSD. 2002-05-25 23:12:16 +00:00
parser.c implement noclobber. From Ben Harris, with minor tweaks from me. Two 2002-05-15 16:33:35 +00:00
parser.h un-__P functions declared in parser.h. host programs include parser.h, 2000-07-27 04:09:27 +00:00
redir.c Revert previous change. No need to save rootshell. It is only affecting 2002-09-28 01:25:01 +00:00
redir.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
sh.1 filesystem -> file system, automaticly -> automatically. 2002-10-02 10:01:46 +00:00
shell.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
show.c __STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and 2002-05-25 23:09:06 +00:00
show.h Sprinkle some `const's in DEBUG bracketed code. 1999-10-08 21:10:44 +00:00
TOUR
trap.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
trap.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
var.c VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00
var.h VFork()ing shell: From elric@netbsd.org: 2002-09-27 18:56:50 +00:00