summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2001-06-30Generalize comment -- no longer ls specificEric Andersen
2001-06-30All-integer version (but it does use an unsigned long long) which fixesManuel Novoa III
the problems of the previous version (used floating point, overflowed, didn't round properly). The comments at the top of the file are worth reading; especially note 2 concerning "ls -sh".
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
2001-06-28Allow xrealloc to act as a free() when size=0, per SuS2.Eric Andersen
-Erik
2001-06-27Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-26Make it so we don't segfault when /proc isn't mounted -- guess pid 1...Eric Andersen
-Erik
2001-06-26Don't use void * to pass pointers of known typeEric Andersen
2001-06-26Vladimir's last_patch_15Glenn L McGrath
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-22Remove obsolete function declaration.Matt Kraai
2001-06-22stdlib.h defined free(), which this needsEric Andersen
2001-06-22Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Eric Andersen
Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
2001-06-22Add in a missing header fileEric Andersen
2001-06-22Dont change date or chmod on symlinks, lchown on symlinks if lchown availableGlenn L McGrath
2001-06-22remove defines around unarchive, its always usedGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-22create_path -> make_directoryTim Riker
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
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
2001-06-15With a bit of care I was able to save about 100 bytes.Eric Andersen
-Erik
2001-06-15This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.cGlenn L McGrath
2001-06-13I reworked make_human_readable_str so it now has a sane interface,Eric Andersen
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
2001-06-13Reorganise unarchive functions, new files, removed someGlenn L McGrath
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-06-11Copy files until EOF, not the reported file size, to deal with bad sizes inMatt Kraai
the proc filesystem.
2001-06-08Add padding to struct sysinfo needed by m68k (note and patch by RichardMatt Kraai
Hirst).
2001-06-01Vladimir's last_patch13, containing several bugfixes.Eric Andersen
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-23Make more robust (patch by Larry Doolittle).Matt Kraai
2001-05-18Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai
2001-05-17Switch from hstrerror to herror for libc5 systems.Matt Kraai
2001-05-16Add missing include, noted by Larry Doolittle.Matt Kraai
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-15This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-14Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen
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
2001-05-11Fix a segfault in lash, hush, and cmdedit. Each of these usedEric 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-11Fix symlink removal problem noted by Erik Andersen.Matt Kraai
2001-05-07This syncs things with Vladimir's latest patches. Also getsEric Andersen
rid of useless 'const int' declarations. -Erik
2001-05-07This is Vladimir's update to last_char_is(). Since 'char *' isEric Andersen
the least common denominator, I modified it to use that (not const), which will minimize the need for casting elsewhere.
2001-05-07A patch from Vladimir to simplify chomp()Eric Andersen
2001-05-07A patch from Vladimir to simplify concat_path_file() andEric Andersen
make it less likely to break.
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
2001-05-05include libbb.h after other includesGlenn L McGrath
2001-05-04Larry suggested using concat_path_file() would be an even safer betEric Andersen
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
2001-04-30Oops. I was a bit too hasty and also changed applet_name.Eric Andersen
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-30These messages can be .rodata, so make them even more const.Eric Andersen
-Erik
2001-04-30Fix user permissions of copied directories.Matt Kraai