Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch from larry to fix some grammar errors. | Eric Andersen | 2001-05-23 | 1 | -1/+1 |
| | |||||
* | Make more robust (patch by Larry Doolittle). | Matt Kraai | 2001-05-23 | 1 | -5/+11 |
| | |||||
* | Rewrote copyfd to use library functions, terminate, and copy correct data. | Matt Kraai | 2001-05-18 | 2 | -25/+17 |
| | |||||
* | Switch from hstrerror to herror for libc5 systems. | Matt Kraai | 2001-05-17 | 1 | -3/+2 |
| | |||||
* | Add missing include, noted by Larry Doolittle. | Matt Kraai | 2001-05-16 | 1 | -0/+2 |
| | |||||
* | Add xgethostbyname and herror_msg* functions. | Matt Kraai | 2001-05-16 | 5 | -0/+188 |
| | |||||
* | This patch from Adam Heath <doogie@debian.org>, makes print_file | Eric Andersen | 2001-05-15 | 3 | -5/+70 |
| | | | | (used by cat, grep, sed, etc) quite a bit faster. | ||||
* | Patch from Vladimir: | Eric Andersen | 2001-05-15 | 5 | -24/+20 |
| | | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb | ||||
* | Per suggestion from Vladimir, eliminate check_wildcard_match(), which | Eric Andersen | 2001-05-14 | 2 | -142/+0 |
| | | | | | | | | | | | was only being used by insmod these days. Also, I spent a minute adjusting insmod so that it first searches /lib/modules/`uname -r` and then (if that fails) searches /lib/modules, which makes bb insmod behave much more like the real insmod, and should avoid nasty surprises (such as the recent "Modutils vs. Busybox..." thread). -Erik | ||||
* | Fix a segfault in lash, hush, and cmdedit. Each of these used | Eric Andersen | 2001-05-11 | 2 | -0/+4 |
| | | | | | | 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 | ||||
* | Fix symlink removal problem noted by Erik Andersen. | Matt Kraai | 2001-05-11 | 1 | -1/+2 |
| | |||||
* | This syncs things with Vladimir's latest patches. Also gets | Eric Andersen | 2001-05-07 | 1 | -4/+4 |
| | | | | | 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. | ||||
* | 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. | ||||
* | Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>, | Eric Andersen | 2001-05-07 | 1 | -3/+6 |
| | | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik | ||||
* | include libbb.h after other includes | Glenn L McGrath | 2001-05-05 | 1 | -3/+2 |
| | |||||
* | Larry suggested using concat_path_file() would be an even safer bet | Eric Andersen | 2001-05-04 | 1 | -1/+3 |
| | | | | | | | 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 | ||||
* | Oops. I was a bit too hasty and also changed applet_name. | Eric Andersen | 2001-04-30 | 1 | -1/+1 |
| | |||||
* | Made new xreadlink function for libbb and changed applets to use it instead of | Mark Whitley | 2001-04-30 | 3 | -10/+38 |
| | | | | readlink(2). | ||||
* | These messages can be .rodata, so make them even more const. | Eric Andersen | 2001-04-30 | 2 | -25/+25 |
| | | | | -Erik | ||||
* | Fix user permissions of copied directories. | Matt Kraai | 2001-04-30 | 1 | -1/+8 |
| | |||||
* | Simplify permission handling for FIFOs. | Matt Kraai | 2001-04-30 | 1 | -12/+1 |
| | |||||
* | Fix exit status when there is an error copying a file. | Matt Kraai | 2001-04-30 | 1 | -1/+1 |
| | |||||
* | Terminate source correctly when copying symlink. Report and patch by | Matt Kraai | 2001-04-27 | 1 | -2/+3 |
| | | | | Brian Webb <webbb@desertscenes.net>. | ||||
* | Another nice cleanup from Larry. This adds a new last_char_is() function and | Eric Andersen | 2001-04-26 | 2 | -0/+34 |
| | | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik | ||||
* | libbb.h now includes ../busybox.h. This way, files in libbb that have | Mark Whitley | 2001-04-25 | 2 | -1/+5 |
| | | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this. | ||||
* | Fixed a BB_MTAB #define buglet reported by Magnus Damm. | Mark Whitley | 2001-04-25 | 1 | -1/+1 |
| | |||||
* | Move messages.c to libbb. Make each string in messages.c be its own .o file. | Eric Andersen | 2001-04-25 | 5 | -15/+73 |
| | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik | ||||
* | Rewrote rm. | Matt Kraai | 2001-04-24 | 2 | -0/+128 |
| | |||||
* | Use generic flag names. | Matt Kraai | 2001-04-24 | 2 | -14/+15 |
| | |||||
* | Move applet_name declaration from busybox.h to libbb.h. | Matt Kraai | 2001-04-24 | 4 | -5/+3 |
| | |||||
* | Rewrite cp and mv to be SUSv2 compliant. | Matt Kraai | 2001-04-23 | 2 | -145/+198 |
| | |||||
* | Reversed last patch; unnecessary. | Mark Whitley | 2001-04-23 | 1 | -4/+0 |
| | |||||
* | Added a sanity check to fix weird bug exposed when sourcing in commands from a | Mark Whitley | 2001-04-23 | 1 | -1/+5 |
| | | | | file with lash. Based on report from Heinz Walter. | ||||
* | Simplify file_prefix handling, and use of *dir variable. | Glenn L McGrath | 2001-04-23 | 1 | -29/+21 |
| | |||||
* | Fix horrible, horrible memmory leak. I wondered why processes were dying ! | Glenn L McGrath | 2001-04-21 | 1 | -2/+1 |
| | |||||
* | Clearly define out exclude list code, as recommended by Larry Doolittle | Glenn L McGrath | 2001-04-21 | 1 | -4/+5 |
| | |||||
* | Set permissions of created file | Glenn L McGrath | 2001-04-20 | 1 | -0/+1 |
| | |||||
* | This has two patches. First it moves interface.c to libbb (it is | Eric Andersen | 2001-04-19 | 1 | -0/+2129 |
| | | | | | | | support code after all). It also contains a patch from Larry Doolittle that removes two instances of "strlen([^)]*) *- *1", un-shadows two variables, relaxes requirement for a sprintf(3) that returns number of bytes written, and eliminates a duplicate subroutine. | ||||
* | Move real_loop.h to libbb, where it belongs. | Eric Andersen | 2001-04-18 | 1 | -0/+37 |
| | | | | -Erik | ||||
* | Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org> | Eric Andersen | 2001-04-18 | 1 | -2/+2 |
| | |||||
* | Eliminated seeks so that we work correctly on pipes, and removed reliance on | Matt Kraai | 2001-04-18 | 1 | -2/+9 |
| | | | | | undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution. | ||||
* | dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵ | Glenn L McGrath | 2001-04-16 | 3 | -25/+59 |
| | | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible | ||||
* | untar changed to allow deb_extract to extract to memory, allows better ↵ | Glenn L McGrath | 2001-04-15 | 3 | -40/+48 |
| | | | | operation of dpkg-deb -f | ||||
* | Reads a field from a debian control (status or available) file, handles ↵ | Glenn L McGrath | 2001-04-15 | 1 | -0/+31 |
| | | | | multi-line fields. | ||||
* | Read a FILE* till an empty line or eof and return it as a char buffer. | Glenn L McGrath | 2001-04-15 | 1 | -0/+38 |
| | | | | | In future maybe add char *end_str to interface to allow calling function to specify end point. | ||||
* | dpkg-deb -f and partial -I commands, adds 600 bytes | Glenn L McGrath | 2001-04-13 | 3 | -34/+46 |
| | |||||
* | Fix dos2unix/tr problem noted by Larry Doolittle. | Matt Kraai | 2001-04-12 | 1 | -1/+1 |
| | |||||
* | Updates, fixes for handling contents, verbose extract. | Glenn L McGrath | 2001-04-12 | 1 | -16/+15 |
| | | | | More updates to come |