Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-03-27 | s/fileno\(stdin\)/STDIN_FILENO/g | Eric Andersen | |
s/fileno\(stdout\)/STDOUT_FILENO/g | |||
2004-03-15 | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | |
2003-07-14 | Update a bunch of docs. Run a script to update my email addr. | Eric Andersen | |
2003-03-19 | Major coreutils update. | Manuel Novoa III | |
2002-12-06 | Make hush comple once again | Eric Andersen | |
2002-11-28 | Change if(x)free(x); to free(x); | Aaron Lehmann | |
2002-04-13 | Nice patch from Wolfgang Denk <wd@denx.de> to provide hush with | Eric Andersen | |
shell loops (for, while, until) and control operators (||, &&) | |||
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 |