Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-10-31 | Fixup some silly prototype warnings | Eric Andersen | |
2001-10-28 | Add in some (theoretical) uClinux support. Some init cleanups | Eric Andersen | |
2001-10-24 | Major rework of the directory structure and the entire build system. | Eric Andersen | |
-Erik | |||
2001-10-19 | Add an option to make the shells not advertise their busybox nature | Eric Andersen | |
2001-08-01 | Allow multiple shells to be enabled. | Matt Kraai | |
2001-07-12 | Patch from vodz: | Eric Andersen | |
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function | |||
2001-06-28 | More thrashing about trying to make hush behave itself wrt job | Eric Andersen | |
control... | |||
2001-06-26 | Explicitly call setsid() | Eric Andersen | |
2001-06-26 | Don't choke if /etc/profile is not available | Eric Andersen | |
2001-06-26 | Vladimir's last_patch_15 | Glenn L McGrath | |
2001-06-25 | Fix the code for establishing a controlling terminal. | Eric Andersen | |
-Erik | |||
2001-06-22 | Some more cleanups. Of special importance, never free a pipe | Eric Andersen | |
that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik | |||
2001-06-22 | Some cleanups for hush. Saves about 350bytes. | Eric Andersen | |
-Erik | |||
2001-06-07 | Another hush update from Larry: | Eric Andersen | |
Fixes the interaction between if/then/else/fi syntax and variables. I planned to do it right from the beginning, but my implementation was buggy. Also adds the relevant test cases. Also adds some old Matt Kraai variable test cases that got left out somehow. | |||
2001-06-06 | A patch from Larry to fix pathological things like '>""' | Eric Andersen | |
2001-06-05 | Don't close file descriptors when we are duplicating them. | Matt Kraai | |
2001-05-31 | Cope gracefully when people type something, then hit ^C. | Eric Andersen | |
-Erik | |||
2001-05-24 | Plug another memory leak | Eric Andersen | |
2001-05-23 | Plug another memory leak in hush. This one showed up when backticked | Eric Andersen | |
commands were run. This one was sure a bugger to find. -Erik | |||
2001-05-23 | Fix a massive memory leak in the run_list_test() function. | Eric Andersen | |
Rename run_list_test() as free_pipe_list(). Rename run_pipe_test() as free_pipe(). -Erik | |||
2001-05-23 | Commit a patch by Larry Doolittle which fixes recursive calls to file_peek, | Matt Kraai | |
and improves some debugging messages. | |||
2001-05-22 | Excellent. This patch from Larry fixes the behavior of hush | Eric Andersen | |
when builtins are included in pipes. | |||
2001-05-22 | Fix this case. No, really this time. | Eric Andersen | |
unset FOO export FOO=bar FOO=baz echo "global env: " `env | grep ^FOO` echo "local env: " `set | grep ^FOO` -Erik | |||
2001-05-22 | Fix a race. Sometimes by the time we got to checkjobs(), the | Eric Andersen | |
pipe struct had already been freed. Return immediately if the pipe is NULL. | |||
2001-05-22 | Oops. Remove some debug noise I left in. | Eric Andersen | |
2001-05-22 | Updates from both Vladimir and Larry | Eric Andersen | |
2001-05-21 | Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bug | Eric Andersen | |
#1130 (i.e. When you turn on features it should always ADD features) | |||
2001-05-21 | The latest patch from Larry | Eric Andersen | |
2001-05-19 | This is a patch from Vladimir: | Eric Andersen | |
> 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-17 | It turns out job control in both hush and lash was broken by the | Eric Andersen | |
signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik | |||
2001-05-16 | Move init of a bunch of globals into main so we are at least | Eric Andersen | |
a bit more reentrant. -Erik | |||
2001-05-15 | Fix the behavior of local shell variables to match that of bash and ash. | Eric Andersen | |
-Erik | |||
2001-05-15 | Oops. I left in some debug noise. | Eric Andersen | |
2001-05-15 | Write set_local_var() and fixup lookup_param() so you can now use | Eric Andersen | |
shell local variables. -Erik | |||
2001-05-15 | This patch covers one big part of variable handling. | Eric Andersen | |
$ a=b foo should be handled correctly. $ a=b is parsed OK, but the actual variable setting is not yet written. Except for some weird exceptions related to quoting rules, this code passes (matches ash behavior) all the tests I threw at it. If someone now writes set_local_var(), and updates lookup_param() to match, we can claim success! - Larry | |||
2001-05-11 | Fix up some silly warnings | Eric Andersen | |
2001-05-11 | Fix a segfault in lash, hush, and cmdedit. Each of these used | Eric Andersen | |
xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik | |||
2001-05-11 | Use xgetcwd | Eric Andersen | |
2001-05-08 | A few more structural updates for job control. | Eric Andersen | |
-Erik | |||
2001-05-08 | Fix a stupid segfault caused by dereferencing a NULL ptr. | Eric Andersen | |
-Erik | |||
2001-05-07 | This patch from Evin Robertson <nitfol@my-deja.com> fixes export so it works. | Eric Andersen | |
This way leaks memory, but oh well. We will probably fix that when we get around to doing local variables. | |||
2001-05-07 | More hush updates from Larry: | Eric Andersen | |
Update some comments. Generate partial placeholders for the missing builtins. Write builtin_umask. Properly treat exec without arguments as a means to open/close files within the running script. Implement "4<&-" that encodes for file descriptor closure. | |||
2001-05-04 | Larry's variant on Evin Robertson's fix to what I messed up | Eric Andersen | |
trying to make job control work. This fix makes it so that hush doesn't error out when init hasn't set up job control, as in when init=/bin/sh | |||
2001-05-04 | Don't reset parents context when we encounter an terminator. Fixes | Matt Kraai | |
if true; then if true; then true; fi; fi | |||
2001-05-04 | If it fails to run a builtin, let it fall through to | Eric Andersen | |
exec the real thing. -Erik | |||
2001-05-02 | Move up waitpid error check so that errno isn't clobbered by tcsetpgrp. | Matt Kraai | |
2001-05-02 | Some more job control updates. It will now sucessfully background | Eric Andersen | |
stuff. Good luck getting things back into the foreground though... -Erik | |||
2001-05-02 | Don't treat newline as pipe separator when processing substitutions. | Matt Kraai | |
2001-05-02 | Fix $(...) construction. Noted and patched by Larry Doolittle | Matt Kraai | |
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :) | |||
2001-05-02 | First pass at getting job control working. This gets the infrastructure | Eric Andersen | |
in place, but something is still missing/wrong in there. Testing with 'grep foo &' seems to put _hush_ into the background. Pondering... -Erik |