summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove defines around unarchive, its always usedGlenn L McGrath2001-06-221-2/+0
|
* comment cleanupTim Riker2001-06-221-2/+1
|
* create_path -> make_directoryTim Riker2001-06-221-1/+1
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-215-71/+150
|
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath2001-06-2010-623/+518
| | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
* With a bit of care I was able to save about 100 bytes.Eric Andersen2001-06-151-2/+15
| | | | -Erik
* This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.cGlenn L McGrath2001-06-151-17/+0
|
* I reworked make_human_readable_str so it now has a sane interface,Eric Andersen2001-06-132-23/+27
| | | | | | and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik
* Reorganise unarchive functions, new files, removed someGlenn L McGrath2001-06-138-263/+416
|
* Reorganise archive extraction codeGlenn L McGrath2001-06-133-68/+94
|
* Copy files until EOF, not the reported file size, to deal with bad sizes inMatt Kraai2001-06-112-30/+39
| | | | the proc filesystem.
* Add padding to struct sysinfo needed by m68k (note and patch by RichardMatt Kraai2001-06-081-0/+1
| | | | Hirst).
* Vladimir's last_patch13, containing several bugfixes.Eric Andersen2001-06-013-51/+71
|
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-1/+1
|
* Make more robust (patch by Larry Doolittle).Matt Kraai2001-05-231-5/+11
|
* Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai2001-05-182-25/+17
|
* Switch from hstrerror to herror for libc5 systems.Matt Kraai2001-05-171-3/+2
|
* Add missing include, noted by Larry Doolittle.Matt Kraai2001-05-161-0/+2
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-165-0/+188
|
* This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen2001-05-153-5/+70
| | | | (used by cat, grep, sed, etc) quite a bit faster.
* Patch from Vladimir:Eric Andersen2001-05-155-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(), whichEric Andersen2001-05-142-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 usedEric Andersen2001-05-112-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 Kraai2001-05-111-1/+2
|
* This syncs things with Vladimir's latest patches. Also getsEric Andersen2001-05-071-4/+4
| | | | | 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.
* 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.
* Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen2001-05-071-3/+6
| | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
* include libbb.h after other includesGlenn L McGrath2001-05-051-3/+2
|
* Larry suggested using concat_path_file() would be an even safer betEric Andersen2001-05-041-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 Andersen2001-04-301-1/+1
|
* Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley2001-04-303-10/+38
| | | | readlink(2).
* These messages can be .rodata, so make them even more const.Eric Andersen2001-04-302-25/+25
| | | | -Erik
* Fix user permissions of copied directories.Matt Kraai2001-04-301-1/+8
|
* Simplify permission handling for FIFOs.Matt Kraai2001-04-301-12/+1
|
* Fix exit status when there is an error copying a file.Matt Kraai2001-04-301-1/+1
|
* Terminate source correctly when copying symlink. Report and patch byMatt Kraai2001-04-271-2/+3
| | | | Brian Webb <webbb@desertscenes.net>.
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-262-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 haveMark Whitley2001-04-252-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 Whitley2001-04-251-1/+1
|
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen2001-04-255-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 Kraai2001-04-242-0/+128
|
* Use generic flag names.Matt Kraai2001-04-242-14/+15
|
* Move applet_name declaration from busybox.h to libbb.h.Matt Kraai2001-04-244-5/+3
|
* Rewrite cp and mv to be SUSv2 compliant.Matt Kraai2001-04-232-145/+198
|
* Reversed last patch; unnecessary.Mark Whitley2001-04-231-4/+0
|
* Added a sanity check to fix weird bug exposed when sourcing in commands from aMark Whitley2001-04-231-1/+5
| | | | file with lash. Based on report from Heinz Walter.
* Simplify file_prefix handling, and use of *dir variable.Glenn L McGrath2001-04-231-29/+21
|
* Fix horrible, horrible memmory leak. I wondered why processes were dying !Glenn L McGrath2001-04-211-2/+1
|