aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some silly warningsEric Andersen2001-05-114-12/+12
|
* Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen2001-05-1110-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 xgetcwdEric Andersen2001-05-112-4/+4
|
* Fix the chown usage text, also thanks to Lars Kellogg-Stedman ↵Eric Andersen2001-05-113-6/+9
| | | | <lars@larsshack.org>
* This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen2001-05-112-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 Kraai2001-05-112-2/+4
|
* Fix env usage information.Matt Kraai2001-05-113-3/+3
|
* Fix handling of '-' option and way that variables are added to theMatt Kraai2001-05-112-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 Kraai2001-05-111-1/+2
|
* Add installation instructions from Tomas Pospisek <tpo_hp@sourcepole.ch>.Matt Kraai2001-05-101-0/+8
|
* Make stdio functions which can be interrupted by the progressmeter timerMatt Kraai2001-05-092-10/+98
| | | | recover gracefully from EINTR.
* Bump version to 0.52preEric Andersen2001-05-094-3/+9
|
* A few more structural updates for job control.Eric Andersen2001-05-082-8/+26
| | | | -Erik
* Fix a stupid segfault caused by dereferencing a NULL ptr.Eric Andersen2001-05-082-0/+4
| | | | -Erik
* This patch from Evin Robertson <nitfol@my-deja.com> fixes export so it works.Eric Andersen2001-05-072-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 getsEric Andersen2001-05-072-8/+8
| | | | | rid of useless 'const int' declarations. -Erik
* This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen2001-05-071-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 compilationEric Andersen2001-05-072-2/+2
|
* A patch from Vladimir to simplify chomp()Eric Andersen2001-05-071-7/+4
|
* A patch from Vladimir to simplify concat_path_file() andEric Andersen2001-05-071-11/+7
| | | | make it less likely to break.
* A patch from Vladimir to use last_char_is(), and a patch fromEric Andersen2001-05-072-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.cEric Andersen2001-05-072-12/+10
|
* Patch from Vladimir to remove testing stuff from sttyEric Andersen2001-05-072-134/+0
|
* A bug fix from Vladimir for a memory leak I stupidlyEric Andersen2001-05-072-4/+4
| | | | added to which.c.
* More hush updates from Larry:Eric Andersen2001-05-072-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 Andersen2001-05-073-2/+109
|
* Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen2001-05-072-4/+4
| | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
* Update comment re USE_SYSTEM_PWD_GRPEric Andersen2001-05-071-5/+6
| | | | -Erik
* Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen2001-05-077-11/+16
| | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
* Another vi update from Sterling Huxley:Eric Andersen2001-05-072-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 statmentGlenn L McGrath2001-05-072-0/+2
|
* Tolerate -q argument, if -q is passed give a warning and continue rather ↵Glenn L McGrath2001-05-074-4/+12
| | | | than just fail
* Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath2001-05-072-4/+2
|
* woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath2001-05-072-2/+2
|
* Device may not be a real filenameGlenn L McGrath2001-05-072-20/+32
|
* Rewrite -c and -b processing to shrink code and eliminate buffer overrun.Matt Kraai2001-05-052-28/+8
|
* include libbb.h after other includesGlenn L McGrath2001-05-051-3/+2
|
* Larry's variant on Evin Robertson's fix to what I messed upEric Andersen2001-05-042-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 betEric Andersen2001-05-043-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 Whitley2001-05-0411-0/+445
| | | | revision.
* Don't reset parents context when we encounter an terminator. FixesMatt Kraai2001-05-042-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 theEric Andersen2001-05-042-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 toEric Andersen2001-05-042-2/+0
| | | | | exec the real thing. -Erik
* Fix two bugs reported by Ralph Jones.Matt Kraai2001-05-042-6/+14
|
* A todo update from larry to acknowledge the existance of hushEric Andersen2001-05-031-11/+12
|
* devfs does not support creation of regular files. So change theEric Andersen2001-05-032-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 Kraai2001-05-032-4/+2
|
* Move up waitpid error check so that errno isn't clobbered by tcsetpgrp.Matt Kraai2001-05-022-6/+6
|
* Canonicalize path before trying to unmount it.Matt Kraai2001-05-022-2/+12
|
* Fix bug #1108 by always canonicalizing arguments.Matt Kraai2001-05-022-26/+32
|