summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2002-07-19- Forgot to cvs add bb_asprintf.c (from vodz' patch #50)Robert Griebl
- Applied Joel Coltoff's xconnect patch: On both my host system and with mipsel-linux for my embedded systems the function getservbyname() gives the port number already in host order. In fact, this is how it was used by rdate in version 0.60.3. The snapshot I have of the development tree from July 12, 2002 takes the port number and stuffs it into htons() before it uses it. This causes bugs in rdate, telnet and wget. This patch fixes that.
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-07-11Brad Campbell <brad@seme.com.au> notes thatEric Andersen
xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-07-03A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen
xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
2002-07-03This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen
IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!
2002-07-03Cleanup shadow.h stuff so it behaves as intendedEric Andersen
-Erik
2002-06-23Remove advertising clauses in accordance withAaron Lehmann
ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
2002-06-23Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOWAaron Lehmann
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik
2002-06-11* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.Matt Kraai
2002-06-06Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen
When DEBUG is defined 1. need to include resolv.h (for _resinit()) 2. remove _() call around string. It appears to be a remnant of i18n or some such notion
2002-06-04Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl
[Parts of this patch may overlap with my other two patches]
2002-05-19Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...]
2002-05-15Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
2002-04-13Silly meEric Andersen
2002-04-13Stupid gcc always includes its own builtin strlen()...Eric Andersen
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
2002-03-20Fix devfs loop device supportEric Andersen
2002-03-20Reinitialize initial shift register value for on each pass.Eric Andersen
-Erik
2002-03-12Cleanup a libc5 compatibility hackEric Andersen
2002-02-26* libbb/xfuncs.c (xmalloc, xcalloc): Do not exit if a zero-length buffer isMatt Kraai
requested. (xrealloc): Simplify.
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