busybox/shell
Eric Andersen 9ffb7dd9a4 This is a patch from Vladimir:
> I rewrite *local_variable* function in hush.c with:
    > 1) remove many memory leaks
    > 2) add support read_only protect (require write builtin function for set this,
    > I write this special for variable HUSH_VERION=0.01)
    > 3) commad read set only local variable now
    > 4) remove many error messages if "set unset export" not defined variable
    > (bash syntax not put and set error code). Hmm, if I set result to -1, you hush
    > called waitpid and returned with error "no waitpid" ( i not found place this
    > error).
    > 5) destroy error in new version check xgetcwd()==NULL and set "(unknow)" -
    > this have error: crashe in next call `pwd`, but xgetcwd(not null) called
    > free(arg).
    > 6) next add integraion with libbb

Valdimir's patch missed two cases of local variable handling
    FOO=bar
    export FOO=baz
    unset FOO
and
    export FOO=bar
    FOO=baz
which were working before, so I fixed those two cases.
2001-05-19 03:00:46 +00:00
..
cmdedit.c It turns out job control in both hush and lash was broken by the 2001-05-17 00:14:27 +00:00
cmdedit.h Update the lash shell (hopefully the last time...) so things like 2001-03-13 22:57:56 +00:00
hush.c This is a patch from Vladimir: 2001-05-19 03:00:46 +00:00
lash.c Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c 2001-05-16 14:21:09 +00:00