summaryrefslogtreecommitdiffhomepage
path: root/libbb
AgeCommit message (Collapse)Author
2002-01-02chomp should only remove the newline if it occurs at the end of the input.Matt Kraai
This was caught by the test suite (in sed/sed-aic-commands). * libbb/chomp.c: Revert to revision 1.5.
2002-01-02unzip applet by Laurence AndersonGlenn L McGrath
----------------------------------------------------------------------
2001-12-29optimize this a little bit.Eric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-17Make cp and mv optionally preserve hard links.Matt Kraai
2001-12-11Open the source before creating the destination.Matt Kraai
2001-12-06If find_pid_by_name() had an error, it was returning -1, but storingEric Andersen
that into a pid_t, which is unsigned on a number archs. Furthermore, find_pid_by_name() would _never_ return an error if the intended proces was "init", but instead would return 1, meaning we would fail to work on 2.4.x kernels running an initrd... -Erik
2001-12-06More copyright and email addr cleanupsEric Andersen
2001-12-06Silly cosmetic problem in the commentEric Andersen
2001-12-06Commit my improvement on Rodney Brown's patch to g(un)zip, decreasingAaron Lehmann
binary size.
2001-12-05Simplify unzip(), remove unused checks and unneccessary variablesGlenn L McGrath
2001-12-05Simplify CRC table generationGlenn L McGrath
2001-12-05New version to cut size. Includes optional basename() compatibility, butManuel Novoa III
enabling that would break the basename applet at least for one corner case.
2001-11-29gunzip was incorrectly reporting a failed crc and length (discovered byGlenn L McGrath
Chang, Shu-Hao). The bitbuffer needs to be unwound after decompression, as it was eating into the crc/size field.
2001-11-20Treat NUL as the end-of-line.Matt Kraai
2001-11-12Remove unnecessary errno handling.Matt Kraai
2001-11-10I forgot to add these. Part of the patch from vodzEric Andersen
2001-11-10Latest patch from vodz:Eric Andersen
-- reverse resolve network name and cache in route and ifconfig applets, fix print nslookup server name if compile without uClibc, fix route crashe 'route add', fix warnings compile networking and pwd_grp applets
2001-11-02Introduce od and hexdump appletsGlenn L McGrath
2001-10-27Be extra pedantic about printing the correct type for an addressEric Andersen
2001-10-25rEcover from my previous commitGlenn L McGrath
2001-10-25Move libbb/unarchive functions to ./archival/libunarchiveGlenn L McGrath
2001-10-25Modify applets to use libunarchiveGlenn L McGrath
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-24Accomodate older glibc, which also lacks the module syscallsEric Andersen
2001-10-18Return NULL if EOF is encountered before terminating_string.Matt Kraai
2001-10-18Revert that change. As Matt Kraai rightly points out,Eric Andersen
this is not a bug. What I was I thinking when I committed this. Doh!
2001-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-10-18Patch from Stefan Soucek <ssoucek@coactive.com> toEric Andersen
ignore extra empty lines in fgets_str
2001-10-13unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath
applets that use unarchive changed to match.
2001-10-13match exclude/include names with trailing '/'Glenn L McGrath
2001-10-13Use fnmatch() to compare excluded/included filesGlenn L McGrath
2001-10-08Cleanup memory usage properlyGlenn L McGrath
2001-10-08Free some variables after useGlenn L McGrath
2001-10-05Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.Matt Kraai
2001-10-04Fix BB_FEATURE_MTAB_SUPPORT test (report and patch by Magnus Damm).Matt Kraai
2001-09-24List full path instead of relative path if prefix is specified (this was ↵Glenn L McGrath
supposed to be in last patch)
2001-09-11Commit my changes to arith.c which fixed a couple of bugs and decreasedManuel Novoa III
code size. Please read the TODO comments regarding accessing shell variables from the arith() funciton.
2001-08-28Use the correct buffer when calling dirname, improve an error message, andMatt Kraai
plug some memory leaks. Patch by Laurence Anderson.
2001-08-24Eliminate improper consts and allow standard version to override.Matt Kraai
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
2001-08-24Fix a memory leak if parent directory creation failed.Matt Kraai
2001-08-22Add #include <sys/param.h> to ensure PATH_MAX is definedEric Andersen
2001-08-21dfp might be used uninitialized. NULL it.Eric Andersen
2001-08-14Rewritten by Manuel Novoa III.Matt Kraai
2001-08-10Commit Vladimir's simplify_path.Matt Kraai
2001-08-04Fix exclude list handlingGlenn L McGrath
2001-08-02More libc5 fixupsEric Andersen
-Erik
2001-08-02Some libc5 cleanupsEric Andersen
2001-08-02make_directory used mode as if it were an signed entity, but in factEric Andersen
it was a mode_t which is unsigned. Fix it to be signed... -Erik