Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up some silly warnings | Eric Andersen | 2001-05-11 | 4 | -12/+12 |
| | |||||
* | Fix a segfault in lash, hush, and cmdedit. Each of these used | Eric Andersen | 2001-05-11 | 10 | -5/+40 |
| | | | | | | 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 | ||||
* | Use xgetcwd | Eric Andersen | 2001-05-11 | 2 | -4/+4 |
| | |||||
* | Fix the chown usage text, also thanks to Lars Kellogg-Stedman ↵ | Eric Andersen | 2001-05-11 | 3 | -6/+9 |
| | | | | <lars@larsshack.org> | ||||
* | This patch from Lars Kellogg-Stedman, fixes the behavior of | Eric Andersen | 2001-05-11 | 2 | -6/+22 |
| | | | | | | | chown to be consistant with GNU chown, so that it follows symlinks (who cares about the perms on a link anyways?) unless the -h option is supplied. -Erik | ||||
* | Check that putenv succeeded, suggested by Jonas Holmberg. | Matt Kraai | 2001-05-11 | 2 | -2/+4 |
| | |||||
* | Fix env usage information. | Matt Kraai | 2001-05-11 | 3 | -3/+3 |
| | |||||
* | Fix handling of '-' option and way that variables are added to the | Matt Kraai | 2001-05-11 | 2 | -12/+28 |
| | | | | | environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string. | ||||
* | Fix symlink removal problem noted by Erik Andersen. | Matt Kraai | 2001-05-11 | 1 | -1/+2 |
| | |||||
* | Add installation instructions from Tomas Pospisek <tpo_hp@sourcepole.ch>. | Matt Kraai | 2001-05-10 | 1 | -0/+8 |
| | |||||
* | Make stdio functions which can be interrupted by the progressmeter timer | Matt Kraai | 2001-05-09 | 2 | -10/+98 |
| | | | | recover gracefully from EINTR. | ||||
* | Bump version to 0.52pre | Eric Andersen | 2001-05-09 | 4 | -3/+9 |
| | |||||
* | A few more structural updates for job control. | Eric Andersen | 2001-05-08 | 2 | -8/+26 |
| | | | | -Erik | ||||
* | Fix a stupid segfault caused by dereferencing a NULL ptr. | Eric Andersen | 2001-05-08 | 2 | -0/+4 |
| | | | | -Erik | ||||
* | This patch from Evin Robertson <nitfol@my-deja.com> fixes export so it works. | Eric Andersen | 2001-05-07 | 2 | -2/+8 |
| | | | | | This way leaks memory, but oh well. We will probably fix that when we get around to doing local variables. | ||||
* | This syncs things with Vladimir's latest patches. Also gets | Eric Andersen | 2001-05-07 | 2 | -8/+8 |
| | | | | | rid of useless 'const int' declarations. -Erik | ||||
* | This is Vladimir's update to last_char_is(). Since 'char *' is | Eric Andersen | 2001-05-07 | 1 | -4/+7 |
| | | | | | the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere. | ||||
* | Silence cut so it doesn't whine during compilation | Eric Andersen | 2001-05-07 | 2 | -2/+2 |
| | |||||
* | A patch from Vladimir to simplify chomp() | Eric Andersen | 2001-05-07 | 1 | -7/+4 |
| | |||||
* | A patch from Vladimir to simplify concat_path_file() and | Eric Andersen | 2001-05-07 | 1 | -11/+7 |
| | | | | make it less likely to break. | ||||
* | A patch from Vladimir to use last_char_is(), and a patch from | Eric Andersen | 2001-05-07 | 2 | -8/+14 |
| | | | | | Larry to fix a silly bug when BB_FEATURE_VI_OPTIMIZE_CURSOR is not defined. | ||||
* | Patch from Vladimir to use last_char_is to simplify du.c | Eric Andersen | 2001-05-07 | 2 | -12/+10 |
| | |||||
* | Patch from Vladimir to remove testing stuff from stty | Eric Andersen | 2001-05-07 | 2 | -134/+0 |
| | |||||
* | A bug fix from Vladimir for a memory leak I stupidly | Eric Andersen | 2001-05-07 | 2 | -4/+4 |
| | | | | added to which.c. | ||||
* | More hush updates from Larry: | Eric Andersen | 2001-05-07 | 2 | -38/+108 |
| | | | | | | | 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. | ||||
* | Patch from Jim McQuillan to pass the terminal type to the remote host. | Eric Andersen | 2001-05-07 | 3 | -2/+109 |
| | |||||
* | Per comment from Jim McQuillan <jam@mcquil.com>, don't log | Eric Andersen | 2001-05-07 | 2 | -4/+4 |
| | | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead. | ||||
* | Update comment re USE_SYSTEM_PWD_GRP | Eric Andersen | 2001-05-07 | 1 | -5/+6 |
| | | | | -Erik | ||||
* | Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>, | Eric Andersen | 2001-05-07 | 7 | -11/+16 |
| | | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik | ||||
* | Another vi update from Sterling Huxley: | Eric Andersen | 2001-05-07 | 2 | -448/+696 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All of the ESC sequences are now in variables. This should make re-targeting for other terminals easier. - The initial screen draw does not force out every single column. Should be faster. - The place_cursor() routine trys to be smarter about moving the cursor. This is optional based on BB_FEATURE_VI_OPTIMIZE_CURSOR. - The 't' and 'f' intra-line positioning commands were added. They can now be used as targets in 'c' and 'd' commands, i.e., dfx - delete from dot to next 'x' dtx - delete from dot to the char before next 'x' - show_status_line() uses a static int checksum to remember what is currently displayed on the screen and not re-draw the status line unless it has changed. - Some of the code in refresh() was moved out to format_line(). refresh() trys to send out the smallest segment containing the changed chars rather than the whole line. - Added "flash" to the :set command to specify if error indication should be by flashing the screen or ringing the bell. - Changed the rawmode() routine so that it turns off the NL -> CR NL translation. On output of a NL, the OS will not add a CR. - If vi was started as "view", with global read-only mode, and another file is opened, the file is opened read-only rather than read+write. | ||||
* | woops, forgot the break statment | Glenn L McGrath | 2001-05-07 | 2 | -0/+2 |
| | |||||
* | Tolerate -q argument, if -q is passed give a warning and continue rather ↵ | Glenn L McGrath | 2001-05-07 | 4 | -4/+12 |
| | | | | than just fail | ||||
* | Actually we dont need to check if the device is nfs as it wont be stat'ed | Glenn L McGrath | 2001-05-07 | 2 | -4/+2 |
| | |||||
* | woops, i shouldnt be so presumtuous? about what the error will be | Glenn L McGrath | 2001-05-07 | 2 | -2/+2 |
| | |||||
* | Device may not be a real filename | Glenn L McGrath | 2001-05-07 | 2 | -20/+32 |
| | |||||
* | Rewrite -c and -b processing to shrink code and eliminate buffer overrun. | Matt Kraai | 2001-05-05 | 2 | -28/+8 |
| | |||||
* | include libbb.h after other includes | Glenn L McGrath | 2001-05-05 | 1 | -3/+2 |
| | |||||
* | Larry's variant on Evin Robertson's fix to what I messed up | Eric Andersen | 2001-05-04 | 2 | -2/+2 |
| | | | | | | 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 | ||||
* | Larry suggested using concat_path_file() would be an even safer bet | Eric Andersen | 2001-05-04 | 3 | -9/+9 |
| | | | | | | | for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik | ||||
* | Wrote documentation and scripts for creating a busybox boot floppy. Initial ↵ | Mark Whitley | 2001-05-04 | 11 | -0/+445 |
| | | | | revision. | ||||
* | Don't reset parents context when we encounter an terminator. Fixes | Matt Kraai | 2001-05-04 | 2 | -2/+0 |
| | | | | if true; then if true; then true; fi; fi | ||||
* | Fix a buffer overflow. Which accounted for the size of the path, plus the the | Eric Andersen | 2001-05-04 | 2 | -2/+2 |
| | | | | | | '/', plus the size of the test command. It did not account for the terminating NULL, which overwrote the end of the string. -Erik | ||||
* | If it fails to run a builtin, let it fall through to | Eric Andersen | 2001-05-04 | 2 | -2/+0 |
| | | | | | exec the real thing. -Erik | ||||
* | Fix two bugs reported by Ralph Jones. | Matt Kraai | 2001-05-04 | 2 | -6/+14 |
| | |||||
* | A todo update from larry to acknowledge the existance of hush | Eric Andersen | 2001-05-03 | 1 | -11/+12 |
| | |||||
* | devfs does not support creation of regular files. So change the | Eric Andersen | 2001-05-03 | 2 | -12/+6 |
| | | | | | test a bit so as to not possibly create a regular file. -Erik | ||||
* | Remove summary header. Not present in GNU or SUSv2. | Matt Kraai | 2001-05-03 | 2 | -4/+2 |
| | |||||
* | Move up waitpid error check so that errno isn't clobbered by tcsetpgrp. | Matt Kraai | 2001-05-02 | 2 | -6/+6 |
| | |||||
* | Canonicalize path before trying to unmount it. | Matt Kraai | 2001-05-02 | 2 | -2/+12 |
| | |||||
* | Fix bug #1108 by always canonicalizing arguments. | Matt Kraai | 2001-05-02 | 2 | -26/+32 |
| |